importDnnetSurv: Import Data to create a 'dnnetSurvInput' object.

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

importDnnetSurvR Documentation

Import Data to create a dnnetSurvInput object.

Description

Import Data to create a dnnetSurvInput object.

Usage

importDnnetSurv(x, y, e, w = rep(1, dim(x)[1]))

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.

e

A numeric vector, the event status.

w

A numeric vector, the sample weight. Will be 1 if left blank.

Value

An dnnetInput object.

See Also

dnnetInput-class


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