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)

tidyLPA documentation built on Nov. 17, 2021, 5:07 p.m.