map.ellipse.array: Ellipse array

Description Usage Arguments Examples

View source: R/functions_array.r

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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

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

## End(Not run)

soc.ca documentation built on Sept. 5, 2021, 5:21 p.m.