scale_strip: Strip Scale Labels from Likert Data

Description Usage Arguments Value Author(s)

Description

Survey systems commonly export data files with values measured by Likert scales coded as character as opposed to numeric, (e.g. "10 - Very Likely" as opposed to 10). The scale_strip function pulls the first sequence of digits from a string and returns it as numeric.

Usage

1

Arguments

x

a vector, matrix, or data.frame containg character data

Value

numeric values stripped from the character values in x.

Author(s)

Brendan Rocks rocks.brendan@gmail.com


brendan-r/brocks documentation built on May 13, 2019, 5:08 a.m.