summary_phenotype: Title Summary phenotype

summary_phenotypeR Documentation

Title Summary phenotype

Description

Title Summary phenotype

Usage

summary_phenotype(pheno, categorical_variable, numeric_variable, strata)

Arguments

pheno

A data frame of phenotype, includes the trait and covariates

categorical_variable

all selected categorical variable in model example: c("Sex", "Race")

numeric_variable

all selected numeric variable in model example: c("Age", "Trait.1", "Trait.2")

strata

Variable to stratified example: "Race"

Value

sumary phenotype

Examples

library(tableone)
data(phenotype)
categorical_variable<-c("Sex","Race")
numeric_variable<-c("Age","Trait.1","Trait.2")
strata<-"Race"
summary_phenotype(pheno=phenotype, categorical_variable =categorical_variable,  numeric_variable=numeric_variable, strata=strata)

nkurniansyah/Olivia documentation built on July 29, 2023, 9:10 a.m.