as_numeric_factor: as.numeric.factor

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Returns a numerical vector that was a factor vector. Is used to create means from likert data.

Usage

1

Arguments

x

Vector that contains a factor.

Value

Vector that contais numerics.

Examples

1
2
x <- factor(c("a", "b", "a"))
as_numeric_factor(x)

Sumidu/ccscourse documentation built on May 29, 2019, 8:34 a.m.