permtest_multiple: Permutation Test Function

Description Usage Arguments Examples

View source: R/permutationtest.R

Description

This function computes permutation tests, using sample with replacement, keeping the blocks balanced. You need to edit the covariates inside the function for use in other projects.

Usage

1
permtest_multiple(data, indices, M)

Arguments

data

is your dataframe.

M

is the outcome being tested.

Examples

1
2
3
results_rescaled_math_post1  <- boot(data=master_dataset_1, statistic=bs_post, strata=master_dataset_1$blocknum,
R=100000, M="d$rescaled_math_post1", sim="permutation")
Result: results_rescaled_math_post1$t

skirmer/skpack documentation built on May 30, 2019, 1:06 a.m.