ftest_fn: F Test Function

Description Usage Arguments Examples

View source: R/ftest_function.R

Description

This function computes the f-test p-value for baseline characteristics between treatment and control.

Usage

1
ftest_fn(sourcefile, varlist, assignvar)

Arguments

sourcefile

is your dataframe, should include a variable for treatment assignment and whatever demographics.

varlist

is a vector of your covariates (things you are controlling for)- all should be the names of columns in your dataset.

assignvar

is the specific column that specifies the treatment/control split in your sample. Also, your blocking variable should be "blocknum".

Examples

1
ftest_fn(dataset, c("var1", "var2", "var3"), "dbam")

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