manifest_table: Manifest scores

Description Usage Arguments Author(s) See Also Examples

View source: R/tables.R

Description

manifest_table is a convenience function similar to latent_table, and uses qtable to generate a table of means (by groups) for variables associated with PLS latents. It uses EM variables to calculate the means, but removes the EM suffix from variable names in the results. Variables in the results are ordered by their latent association.

Usage

1
2
manifest_table(df, groups = NULL, weight = NULL, margin = TRUE,
  wide = TRUE)

Arguments

df

A Survey.

groups

Variables to group by during aggregation.

weight

Name of variable to weight by. Set this to TRUE to use the 'weight' association in the Survey.

margin

If TRUE (the default), the first group will include a "Total".

wide

Should a long or a wide table be returned? Wide tables spread levels for factor and unique values for character. For a single numeric, the last group is used, while multiple numeric will be spread by variable names.

Author(s)

Kristian D. Olsen

See Also

manifest_plot to easily plot the manifest scores.

Examples

1

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