XML SODAS files to RSDA files.
To convert XML SODAS files to RSDA files.
SODAS.to.RSDA(XMLPath, labels = T)
XMLPath |
Disk path where the SODAS *.XML file is. |
labels |
If we want to include SODAS XML files lebels in RSDA file. |
A RSDA symbolic data file.
Olger Calderon and Roberto Zuniga.
Bock H-H. and Diday E. (eds.) (2000). Analysis of Symbolic Data. Exploratory methods for extracting statistical information from complex data. Springer, Germany.
SDS.to.RSDA
## Not run: # We can read the file directly from the SODAS XML file as follows: # abalone<-SODAS.to.RSDA('C:/Program Files (x86)/DECISIA/SODAS version 2.0/bases/abalone.xml) # We can save the file in CSV to RSDA format as follows: # write.sym.table(sodas.ex1, file='abalone.csv', sep=';',dec='.', row.names=TRUE, # col.names=TRUE) # We read the file from the CSV file, # this is not necessary if the file is read directly from # XML using SODAS.to.RSDA as in the first statement in this example. data(abalone) res <- sym.interval.pca(abalone, "centers") sym.scatterplot(sym.var(res$Sym.Components, 1), sym.var(res$Sym.Components, 2), labels = TRUE, col = "red", main = "PCA Oils Data" ) sym.scatterplot3d(sym.var(res$Sym.Components, 1), sym.var(res$Sym.Components, 2), sym.var(res$Sym.Components, 3), color = "blue", main = "PCA Oils Data" ) sym.scatterplot.ggplot(sym.var(res$Sym.Components, 1), sym.var(res$Sym.Components, 2), labels = TRUE ) sym.circle.plot(res$Sym.Prin.Correlations) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.