map.ellipse.array: Ellipse array

View source: R/functions_array.r

map.ellipse.arrayR Documentation

Ellipse array

Description

Create seperate maps with ellipses for each level in a factor arranged in an array.

Usage

map.ellipse.array(
  object,
  variable,
  dim = c(1, 2),
  draw.ellipses = TRUE,
  ncol = 2,
  titles = levels(variable),
  main.title = "",
  ...
)

Arguments

object

a soc.ca class object

variable

a factor of the same length as the data.frame used to create object

dim

the dimensions in the order they are to be plotted. The first number defines the horizontal axis and the second number defines the vertical axis.

draw.ellipses

if TRUE ellipses are drawn

ncol

the number of columns the plots are arranged into

titles

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

main.title

the main title for all the plots

...

sends any further arguments to map.select and map.ellipse.

Examples

## Not run: 
example(soc.ca)
map.ellipse.array(result, active[, 1])

## End(Not run)

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