Learn R Programming

tidySEM (version 0.1.9)

poms: Apply POMS-coding to data

Description

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

Usage

poms(data)

Arguments

data

A data.frame.

Value

A data.frame.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab