Learn R Programming

HRM (version 1.2.1)

confint.HRM: Function to calculate confidence intervals

Description

Function to calculate simultaneous, asymptotic (1-alpha) confidence intervals for an object of class 'HRM'.

Usage

# S3 method for HRM
confint(object, parm, level = 0.95, ...)

Arguments

object

an object from class 'HRM' returned from the function hrm_test

parm

currently ignored; all possible confidence intervals are calculated

level

confidence level (FWER) used for calculating the inverals

...

Further arguments passed to 'hrm_test' will be ignored

Value

Returns a data.frame with mean and 1-alpha confidence interval for each factor combintation

Examples

Run this code
# NOT RUN {
# hrm.test with a data.frame using a 'formula' object

# using the EEG dataset
?EEG

## Not run:
# z <- hrm_test(value ~ group*region*variable, subject = "subject", data = EEG)
# confint(z)
## End(Not run)
# }

Run the code above in your browser using DataLab