write_csv_table {dataSDA} | R Documentation |
Write Symbolic Data Table
Description
This function write (save) a symbolic data table from a CSV data file.
Usage
write_csv_table(data, file, output)
Arguments
data |
The conventional data. |
file |
The name of the CSV file. |
output |
This is an experimental argument, with default TRUE, and can be ignored by most users. |
Value
Write in CSV file the symbolic data table.
Examples
data(mushroom)
mushroom.set <- set_variable_format(data = mushroom, location = 8, var = "Species")
mushroom.tmp <- RSDA_format(data = mushroom.set, sym_type1 = c("I", "S"),
location = c(25, 31), sym_type2 = c("S", "I", "I"),
var = c("Species", "Stipe.Length_min", "Stipe.Thickness_min"))
mushroom.clean <- clean_colnames(data = mushroom.tmp)
# We can save the file in CSV to RSDA format as follows:
write_csv_table(data = mushroom.clean, file = "mushroom_interval.csv", output = FALSE)
[Package dataSDA version 0.1.0 Index]