Learn R Programming

RSDA (version 1.3)

generate.sym.table: Generate a Symbolic Data Table

Description

This function generates a symbolic data table from a CSV data file.

Usage

generate.sym.table(sym.data, file, sep, dec, row.names = NULL, col.names = NULL)

Arguments

sym.data

Symbolic data table

file

The name of the CSV file.

sep

As in R function read.table

dec

As in R function read.table

row.names

As in R function read.table

col.names

As in R function read.table

Value

Return a symbolic data table.

References

Bock H-H. and Diday E. (eds.) (2000). Analysis of Symbolic Data. Exploratory methods for extracting statistical information from complex data. Springer, Germany.

Examples

Run this code
data(example1)
generate.sym.table(example1, file='temp4.csv', sep='|',dec='.', row.names=TRUE, 
                   col.names=TRUE)
ex1<-read.sym.table('temp4.csv', header=TRUE, sep='|',dec='.', row.names=1)

Run the code above in your browser using DataLab