svy_prop: svy_prop

Description Usage Arguments Value

View source: R/svy_prop.R

Description

This is helper function to create a table of survey frequency proportions with one row variable and one column variable.

Usage

1
svy_prop(row, column, data, orientation = NULL)

Arguments

row

Row variable from survey object.

column

Column variable from survey object.

data

Survey object.

orientation

Specify whether proportions should be given rowwise or colwise.

Value

A dataframe with survey frequencies put into a table of proportions.


tomasokal/surveyhelper documentation built on April 11, 2020, 7:28 a.m.