s2 | R Documentation |
perform mixed linear regression in lmerTest package for getting observed t values or permutation test
s2(data, formula)
data |
A dataframe specifying the data to be analysed |
formula |
A formula in the form like'y~x1+x2+x3+(1|x4) or like'y~x1+x2+x3 +(x3|x4) in lmer function |
An object of class "lmerTest"
data<-mtcars
formula<-mpg~cyl+(1|gear)
statistic<-s2(data=data,formula=formula)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.