Usage
lm(formula, ...)
## S3 method for class 'default':
lm(formula, data, subset, weights, na.action, method = "qr",
model = TRUE, x = FALSE, y = FALSE, qr = TRUE, singular.ok = TRUE,
contrasts = NULL, offset, ...)
## S3 method for class 'design':
lm(formula, ..., response=NULL, degree=NULL, FUN=mean,
use.center=FALSE)
aov(formula, ...)
## S3 method for class 'default':
aov(formula, data = NULL, projections = FALSE, qr = TRUE,
contrasts = NULL, ...)
## S3 method for class 'design':
aov(formula, ..., response=NULL, degree=NULL, FUN=mean,
use.center=FALSE)
## S3 method for class 'lm.design':
print(x, ...)
## S3 method for class 'lm.design':
summary(object, ...)
## S3 method for class 'lm.design':
coef(object, ...)
## S3 method for class 'summary.lm.design':
print(x, ...)
## S3 method for class 'aov.design':
print(x, ...)
## S3 method for class 'aov.design':
summary(object, ...)
## S3 method for class 'summary.aov.design':
print(x, ...)
lm.design
summary.lm.design
aov.design
summary.aov.design
Arguments
formula
for the default method, cf. documentation for lm
in package stats;cr
for the class design
method, a data frame of S3 class
response
character string giving the name of the response variable
(must be among the responses of x
;
for wide format repeated measurement or parameter designs,
response
can also be among the column nam
degree
degree for the formula; if NULL
,
the default for the formula
method is used
FUN
function for the aggregate.design
method;
this must be an unquoted function name;
This option is relevant for repeated measurement designs
and parameter designs in long format o use.center
logical indicating whether center points are to be used +
in the analysis; relevant for pb
and FrF2
designs with
center points only;
the default FALSE
allows application of analysis from package
projections
logical indicating whether the projections should be returned;
for orthogonal arrays, these are helpful, as they provide the estimated
deviation from the overall average attributed to each particular factor;
it is not recommen
x
object of class lm
or summary.lm
,
for lm.default
like in lm
object
object of class lm.design
created by function lm.design
lm.design
a class that is identical in content to class lm
;
its purpose is to call a specific print method that provides slightly more
detail than the standard printout for linear models
summary.lm.design
a class that is identical in content to class summary.lm
;
its purpose is to call a specific print method that provides slightly more
detail than the standard summary for linear models