map.csa.all: Array of several CSA maps

View source: R/functions_array.r

map.csa.allR Documentation

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

## Not run: 
example(soc.csa)
map.csa.all(result, active[, 1])
map.csa.all(result, active[, 1], FUN = map.ctr, ctr.dim = 1)

## End(Not run)

Rsoc/soc.ca documentation built on March 7, 2024, 8:59 p.m.