Learn R Programming

soc.ca (version 0.8.1)

headings: Calculate contributions per heading

Description

Calculate contributions per heading

Usage

headings(object, dim = 1:3)

Value

a matrix

Arguments

object

a soc.ca object with headings

dim

a numeric vector with the dimensions

Examples

Run this code
data(taste)
active.headings <- list()
active.headings$Consumption <- na.omit(taste)[, c("TV", "Film", "Art", "Eat")]
active.headings$Background  <- na.omit(taste)[, c("Gender", "Age", "Income")]
result.headings <- soc.mca(active.headings)
headings(result.headings)

Run the code above in your browser using DataLab