Last data update: 2014.03.03

R: CFA Symbolic Scatter Plot
cfa.scatterplotR Documentation

CFA Symbolic Scatter Plot

Description

This function could be use to plot two symbolic variables in a X-Y plane to special case of Symbolic Correspondance Analysis.

Usage

cfa.scatterplot(sym.var.x, sym.var.y, num.gr1=0, labels = TRUE, ...)

Arguments

sym.var.x

First symbolic variable

sym.var.y

Second symbolic variable.

num.gr1

Number of modes of the first variable

labels

As in R plot function.

...

As in R plot function.

Value

Return a graphics.

Author(s)

Oldemar Rodriguez Rojas

References

Rodriguez, O. (2011). Correspondence Analysis for Symbolic MultiValued Variables. Workshop in Symbolic Data Analysis Namur, Belgium.

See Also

sym.cfa

Examples

data(ex_cfa1) 
res<-sym.cfa(ex_cfa1)
cfa.scatterplot(sym.var(res,1),sym.var(res,2),num.gr1=ex_cfa1$N,labels=TRUE,col='red',
                        main='CFA')

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(RSDA)
Loading required package: XML
Loading required package: scales
Loading required package: ggplot2
Loading required package: princurve
Loading required package: sqldf
Loading required package: gsubfn
Loading required package: proto
Could not load tcltk.  Will use slower R code instead.
Loading required package: RSQLite
Loading required package: DBI
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/RSDA/cfa.scatterplot.Rd_%03d_medium.png", width=480, height=480)
> ### Name: cfa.scatterplot
> ### Title: CFA Symbolic Scatter Plot
> ### Aliases: cfa.scatterplot
> ### Keywords: CFA Plot
> 
> ### ** Examples
> 
> data(ex_cfa1) 
> res<-sym.cfa(ex_cfa1)
> cfa.scatterplot(sym.var(res,1),sym.var(res,2),num.gr1=ex_cfa1$N,labels=TRUE,col='red',
+                         main='CFA')
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>