Learn R Programming

examly (version 0.2.0)

parse_lc_raw: Parse raw continuous/Likert scores

Description

Cleans a vector of potential scores, converting to numeric and removing invalid or out-of-range values.

Usage

parse_lc_raw(x)

Value

A numeric vector of cleaned scores.

Arguments

x

A vector (typically character) of raw scores.

Examples

Run this code
parse_lc_raw(c("10", "5.5", "0", "-2", "ikiyüz", NA, "1000001"))

Run the code above in your browser using DataLab