Learn R Programming

soc.ca (version 0.8.0)

map.csa.all: Array of several CSA maps

Description

Creates an array of Class Specific Mulitple Correspondence analysises

Usage

map.csa.all(
  object,
  variable,
  dim = c(1, 2),
  ncol = 2,
  FUN = map.ind,
  fixed.coord = TRUE,
  main.title = "",
  titles = levels(variable),
  ...
)

Arguments

object

a soc.ca result object

variable

a factor with the same order and length as those used for the active modalities in object

dim

indicates what dimensions to map and in which order to plot them

ncol

the number of columns the maps are arranged into

FUN

the mapping function used for the plots; map.active, map.ctr, map.ind, map.select or map.sup

fixed.coord

if TRUE the limits of all plots are set to the same as the largest plot

main.title

the main title for all the maps

titles

a vector of the same length as the number of levels in variable. These are the titles given to each subplot

...

sends any further arguments to the mapping functions

Examples

Run this code
# NOT RUN {
example(soc.csa)
map.csa.all(result, active[, 1])
map.csa.all(result, active[, 1], FUN = map.ctr, ctr.dim = 1)
# }

Run the code above in your browser using DataLab