Learn R Programming

multilevel (version 2.5)

quantile.rgr.waba: S3 method for class 'rgr.waba'

Description

This function provides a concise quantile summary of objects created using the function rgr.waba.

Usage

"quantile"(x,confint,...)

Arguments

x
An object of class 'rgr.waba'.
confint
The confidence intervals to return. The values of 0.025 and 0.975 return the approximate two-tailed 95th percentile confidence intervals (p=.05).
...
Optional arguments. None used.

Value

See Also

rgr.waba

Examples

Run this code
data(bh1996)

#estimate the model based on actual group membership
waba(bh1996$HRS,bh1996$WBEING,bh1996$GRP)

#create 100 pseudo group runs and summarize        
RWABA<-rgr.waba(bh1996$HRS,bh1996$WBEING,bh1996$GRP,100)  
quantile(RWABA,confint=c(.025,.975))  

Run the code above in your browser using DataLab