Learn R Programming

soc.ca (version 0.8.0)

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))

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

Value

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

Examples

Run this code
# NOT RUN {
example(soc.ca)
average.coord(result, sup$Income)
# }

Run the code above in your browser using DataLab