validateAndLoadData: Validate and load data

Description Usage Arguments Details Value See Also Examples

Description

Validate input type and load data into data frame.

Usage

1
validateAndLoadData(data, isFile = FALSE, scaled = TRUE)

Arguments

data

a numerical R matrix or data frame.

isFile

if TRUE, data accepts a path to a file containing numeric multidimensional data. FALSE by default.

scaled

if TRUE, use Z-score standardization so that outliers aren"t weighted less. TRUE by default.

Details

Supported input types:

Value

Centered scaled R matrix with loaded data.

See Also

import

Examples

1
2
irisCSV <- system.file("extdata", "iris.csv", package = "pcclust")
data <- validateAndLoadData(irisCSV, isFile = TRUE)

audrina/pcclust documentation built on May 31, 2019, 12:44 a.m.