importDnnet: Import Data to create a 'dnnetInput' object.

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

importDnnetR Documentation

Import Data to create a dnnetInput object.

Description

Import Data to create a dnnetInput object.

Usage

importDnnet(x, y, 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 or factor vector, indicating a continuous outcome or class label.

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.