CIgrandMean | R Documentation |
This function estimates the confidence interval for the grand mean of a balanced linear (mixed) model.
CIgrandMean(object, alpha = 0.05)
## S3 method for class 'CIgm'
print(x, ...)
object |
An |
alpha |
A scalar significance level for the confidence interval. |
x |
An object returned from |
... |
Additional arguments (not used). |
This implementation is only valid for models containing no continuous effects and only balanced data.
CIgrandMean
returns a vector of interval endpoints and center.
print.CIgm
has no return.
Kristian Hovde Liland
Suggestions are welcome.
set.seed(42)
dataset <- data.frame(y=rnorm(8), x=factor(c(rep(1,4),rep(0,4))), z=factor(rep(c(1,0),4)))
mixlm <- lm(y~x*r(z), data = dataset)
CIgrandMean(mixlm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.