summary.prmt: Summarize the results of a permutation test

Description Usage Arguments Author(s) Examples

Description

Yields p values & CIs against null (empirical) distribution of statistics. For two sided hypotheses, reported p-value is the minimum one sided p-value with a Bonferroni correction.

Usage

1
summary.prmt(object, level = 0.95, alternative = "two.sided", ...)

Arguments

object

a prmt object to be summarized

level

the width of empirical confidence intervals

alternative

the alternative used for tests of significance. one of 'less', 'greater', 'two.sided'

Author(s)

kholub

Examples

1
2
3
4
5
data(mpg)
sample1 <- mpg %>% filter(class == 'suv')
sample2 <- mpg %>% filter(class == 'compact')
mcr_results <- mcrd_test(sample1, sample2, mean = mean(hwy))
summary(mcr_results)

holub008/nymph documentation built on June 4, 2019, 10:47 a.m.