ss_template: Set template for sstable

View source: R/ssformat.R

ss_templateR Documentation

Set template for sstable

Description

This function set the template for sstable

Usage

ss_template(sstable, template = c("baseline", "survcomp", "ae"))

Arguments

sstable

a data frame following sstable's grammar

template

An accepted template for sstable: must be either 'baseline', 'survcomp', or 'ae'.

If NA, the existing template in the sstable is kept as-is. It no template built-in, will return a no-template sstable instead.

Value

a matrix of class ss_tbl


oucru-biostats/C306 documentation built on July 16, 2024, 2:33 p.m.