Learn R Programming

multilevel (version 2.7)

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

Description

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

Usage

# S3 method for rgr.waba
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

A dataframe containing the confidence intervals for each parameter in the rgr.waba model.

See Also

rgr.waba

Examples

Run this code
# NOT RUN {
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