xtabC {poliscidata}R Documentation

Controlled cross tabulation analysis with optional weights

Description

Controlled cross tabulation analysis with optional weights

Usage

xtabC(function1, data, digits = 2)

Arguments

function1

A function of the relationship to be analyzed expressed in the form ~ depvar + indepvar + controlvar

data

A design dataset (e.g. gssD, nesD, statesD, worldD)

digits

Number of digits to report after decimal place, optional (default = 2).

Value

A controlled cross tabulation as a multi-dimensional array.

Examples

   library(poliscidata)
   
   xtabC(~ divlaw2 + attend3 + kids, gssD)

[Package poliscidata version 2.3.0 Index]