export_data: Export data and labels

Description Usage Arguments Value Examples

View source: R/run_SDA.R

Description

export_data Export data and labels

Usage

1

Arguments

matrix

numeric matrix; the matrix you wish to save in a format readable by SDA

path

character; the directory in which you want the data to be saved, default is current working directory

name

character; the name of the data file

Value

Nothing, the data is saved on disk in the directory specified in the parameter 'path'.

Examples

1
2
data <- simulate_2D_data()
export_data(data$Y, name = "simulated.data")

marchinilab/SDAtools documentation built on Jan. 31, 2020, 3:51 a.m.