Skip to content

Commit

Permalink
rename anova.ccanull -> anovaCCAnull: it is not a method of anova
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed May 6, 2024
1 parent f6a0301 commit fb40d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/anova.cca.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
## We only have a single model: check if it is empty
if (is.null(object$CA) || is.null(object$CCA) ||
object$CCA$rank == 0 || object$CA$rank == 0)
return(anova.ccanull(object))
return(anovaCCAnull(object))
## by cases
if (!is.null(by)) {
by <- match.arg(by, c("terms", "margin", "axis", "onedf"))
Expand Down
2 changes: 1 addition & 1 deletion R/anova.ccanull.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### anova.cca cannot be performed if residuals or constraints are
### NULL, and this function handles these cases (but it doesn't test
### that these are the cases).
`anova.ccanull` <-
`anovaCCAnull` <-
function(object, ...)
{
table <- matrix(0, nrow = 2, ncol = 4)
Expand Down

0 comments on commit fb40d5d

Please sign in to comment.