liquidSVM (version 1.2.2)

write.liquidData: Write Smldata

Description

Write liquidData in such a way that it is understood by liquidSVM command line utilities.

Usage

write.liquidData(data, location = ".", label = 1, name = NULL,
  type = "csv")

Arguments

data

the liquidData to write

location

the location to write name.train.csv and name.test.csv

label

the column with this index or this name will become the label column, and be written as the first column.

name

the name of the file. If NULL (default) then takes the data$name

type

the format of output. At the moment only "csv" is supported.