univariate_forest: Univariate Plotter for Cox Regression

Description Usage Arguments Examples

View source: R/univariate_forest.R

Description

This function takes a data frame and iteratively performs univariate cox regression, prints a forrest plot, and returns a table that can use code from cox_univariate_plotter to customize the plot.

Usage

1
2
3
univariate_forest(data, columns_to_test, time = "TIME",
  outcome = "OUTCOME", title = "Forest Plot for Hazard",
  verbose = TRUE)

Arguments

data

A data frame that contains an outcome column, time column, and a column name within columns_to_test.

columns_to_test

The columns to test from the data

time

The continuous time to event column for the regression analysis. Default: "TIME"

outcome

The binary outcome column of the data. Default: "OUTCOME"

title

Title at top of plot. Default: "Forest Plot for Hazard"

verbose

the amount of status log output provided. Default: TRUE

Examples

1

WillFox/clinicalParser documentation built on May 5, 2019, 1:33 a.m.