confint.HRM: Function to calculate confidence intervals

Description Usage Arguments Value Examples

View source: R/conf_int.R

Description

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

Usage

1
2
## S3 method for class '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

1
2
3
4
5
6
7
8
9
# 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)

HRM documentation built on Feb. 6, 2020, 5:15 p.m.