search for: frmlc

Displaying 1 result from an estimated 1 matches for "frmlc".

Did you mean: frml
2010 Jul 23
1
model.tables call fails with "Error in inherits(object, "formula")"
...nerate dynamic calls to aov(). Here is a minimal example illustrating the problem: ## Example test <- function(dat) { frmlb <- "yield ~ block"; # WORKS aovfit <- aov(as.formula(frmlb), dat); print(model.tables(aovfit, "means")); frmlc <- "yield ~ block + Error(N/block)"; # DOES NOT WORK aovfit <- aov(as.formula(frmlc), dat); print(model.tables(aovfit, "means")); } utils::data(npk, package="MASS"); frmla <- "yield ~ block + Error(N/block)"; # WORKS aovfit <- a...