importTrt: Import Data to create a 'trtInput' object.

View source: R/2-1-import.R

importTrtR Documentation

Import Data to create a trtInput object.

Description

Import Data to create a trtInput object.

Usage

importTrt(x, y, z)

Arguments

x

A matrix containing all samples/variables. It has to be numeric and cannot be left blank. Any variable with missing value will be removed.

y

A numeric vector, indicating the censoring time.

z

The treatment assignment.

Value

An trtInput object.

See Also

trtInput-class


SkadiEye/deepTL documentation built on Nov. 17, 2022, 1:41 p.m.