levelsDS {dsBase}R Documentation

Returns the levels of a factor vector

Description

This function is similar to R function levels.

Usage

levelsDS(x)

Arguments

x

a factor vector

Details

The function returns the levels of the input vector or list.

Value

a list, the factor levels present in the vector

Author(s)

Alex Westerberg, for DataSHIELD Development Team


[Package dsBase version 6.3.0 ]