calcStats: Fast calculation of marginal stats

Description Usage Arguments Value

View source: R/calcStats.r

Description

Rapidly calculate statistics for the relationship between the rows of X and the phenotype (factor or survival)

Usage

1
  calcStats(X, pheno, type = "factor")

Arguments

X

An input data set

pheno

A factor or survival outcome

The

type of analysis to be performed

Value

Test statistics (F-stats or Wald Stats from coxph model)


jtleek/tspreg documentation built on May 20, 2019, 3:14 a.m.