fstats: Calculate f-statistics quickly

Description Usage Arguments Value

View source: R/fstats.R

Description

Using matrix algebbra, quickly calculate f statistics for comparing nested models

Usage

1
fstats(dat, mod, mod0 = NULL)

Arguments

dat

An input data set

mod

The model matrix for the alternative model to be fit

mod0

The model matrix for the null model to be fit. If NULL, the null model is the model with only an intercept.

Value

fstats A vector of f-statistics


leekgroup/sig2trial documentation built on May 20, 2019, 11:31 p.m.