model: Measurement model

Description Usage Arguments Author(s) Examples

View source: R/print.R

Description

Return a summary of the data for the Survey. This includes labels and associations, and the object (survey_model) prints nicely.

Usage

1
2
3
4
5
6
7
model(srv)

## S3 method for class 'Survey'
model(srv)

## S3 method for class 'survey_model'
print(x, ..., width = getOption("width"))

Arguments

srv

A Survey.

x

The survey_model, as returned by model().

...

Further arguments passed to print.

width

Restrict the width of the output (by truncating labels).

Author(s)

Kristian D. Olsen

Examples

1
2
3
4
5
6
7
df <- survey_df(data.frame("A" = 1, "B" = 2))

# Regular
model(df)

# R6
df$model()

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.