s2: Estimate t values of mixed linear model

View source: R/s2.R

s2R Documentation

Estimate t values of mixed linear model

Description

perform mixed linear regression in lmerTest package for getting observed t values or permutation test

Usage

s2(data, formula)

Arguments

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

Value

An object of class "lmerTest"

Examples

data<-mtcars
formula<-mpg~cyl+(1|gear)
statistic<-s2(data=data,formula=formula)

lmerPerm documentation built on April 18, 2023, 5:06 p.m.

Related to s2 in lmerPerm...