poms: Apply POMS-coding to data

Description Usage Arguments Value Author(s) Examples

View source: R/RFunctions.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)

cjvanlissa/motley documentation built on Sept. 23, 2019, 7:39 p.m.