is_likert {thinkr}R Documentation

is a factor a likert scale

Description

is a factor a likert scale

Usage

is_likert(vec, lev)

Arguments

vec

a factor

lev

le scale

Value

boolean

Examples

is_likert(iris$Species,c("setosa","versicolor","virginica"))
is_likert(iris$Species,c("setosa","versicolor","virginica","banana"))
is_likert(iris$Species,c("setosa","versicolor"))


[Package thinkr version 0.16 Index]