Learn R Programming

soc.ca (version 0.8.1)

average.coord: Average coordinates

Description

Find the average coordinates for each category in a variable on two dimensions.

Usage

average.coord(object, x, dim = c(1, 2))

Value

a matrix with the mean points and frequencies of the given variable

Arguments

object

is soc.ca result object

x

is a variable of the same length and order as the active variables used to construct the soc.ca object

dim

is the two dimensions used

Examples

Run this code
example(soc.ca)
average.coord(result, sup$Income)

Run the code above in your browser using DataLab