table.catvar: Produce a proportioned table for x, using the specified...

table.catvarR Documentation

Produce a proportioned table for x, using the specified coding as names and setting the "meta" attribute to "varname" of coding.

Description

Produce a proportioned table for x, using the specified coding as names and setting the "meta" attribute to "varname" of coding.

Usage

table.catvar(x, coding)

Arguments

x

vector of values

coding

a coding variable. names(coding) is the labels attr(coding, "varname") is a named element in xlist

Value

a table (proportions) with names specified by coding


kcha193/simarioV2 documentation built on March 4, 2023, 9:47 p.m.