Description Usage Arguments Details Value Author(s)
Tool to extract sample size from different fitted model objects, and return it in a standard format.
1 2 | ## Default S3 method:
n.extract(object)
|
object |
a fitted model object. |
n.extract is a generic function to extract a named scalar ānā from the fitted model object
.
Currently the default method assumes object
is a list and tries
to extract an element called ānā. A method is also provided
for class lm
(which works also for glm
) which calculates
the sample size from the number of non-missing residuals.
The sample size that was analysed.
Toby Johnson Toby.x.Johnson@gsk.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.