poms: Apply POMS-coding to data

Description Usage Arguments Value Author(s) Examples

View source: R/calc_functions.R

Description

Takes in a data.frame, and applies POMS (proportion of of maximum)-coding to the numeric columns.

Usage

1

Arguments

data

A data.frame.

Value

A data.frame.

Author(s)

Caspar J. van Lissa

Examples

1
2
3
4
data <- data.frame(a = c(1, 2, 2, 4, 1, 6),
                   b = c(6, 6, 3, 5, 3, 4),
                   c = c("a", "b", "b", "t", "f", "g"))
poms(data)

data-edu/tidyLPA documentation built on Feb. 13, 2020, 9:45 a.m.