ToxTable_categories: Generate a prettyTable of worst toxicity by category.

Description Usage Arguments Value

Description

This is a wrapper for the table_values function in prettyTables for worst grade by category. Note that there is an alternative version of this table ToxTable_category which formats similarly to all the other objects in this package.

Usage

1
2
ToxTable_categories(rt, categoryList = NULL, strata.count = TRUE,
  overall = TRUE, count = "n", round = 0)

Arguments

rt

RobustToxicitiesClass object

categoryList

A list of categories. Default is all. A subset is selected by changing this value.

strata.count

TRUE/FALSE for displaying strata counts at the top of each column

overall

TRUE/FALSE for including an overall column

count

"n","miss" or "none" providing the counts, missing values or omitting for each column for numeric variables

round

A value or vector for the number of significant figures to report the data to

categoryList can be replaced by other column names if the standard categorisation is not being used. For more flexibility you can view the code by typing table_tox_categories.

Available methods and values for Type:

"miqr" median (Q25,Q75)
"miqrr" median (Q25,Q75)[min,max]
"mrng" median (Q0,Q100)
"avsd" mean (sd)
"avci" mean (confidence interval)
"st" count
"str" count/total
"stp" count (percent)
"strp" count/total (percent)

Value

Returns a data.frame


finite2/robustToxicities documentation built on May 16, 2019, 12:54 p.m.