Usage Arguments Value Examples
1 2 3 4 5 | sample.size(object, ...)
## Default S3 method:
sample.size(object, ...)
## S3 method for class 'lm'
sample.size(object, data, factors, na.action, ...)
|
object |
vector or list of vectors, or object from linear model fit |
... |
additional vectors in implicit list |
data |
data frame in which to interpret the variables named inthe full and reduced objects (determined from reduced fit if omitted) |
factors |
Character string of length 2 with names of x.factor and trace.factoras found in fit and data (default is first 2 factors in fit). |
na.action |
missing data action |
In the case of a list of vectors, a vector of their lengths. For a linear model object, the sample size by factors.
1 2 3 4 5 6 | ## Not run:
sample.size(list(x1,x2,x3))
sample.size(x1,x2,x3)
sample.size(lm(y~a+b,data))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.