This function is similar to R function levels.

levelsDS(x)

Arguments

x

a factor vector

Value

a list, the factor levels present in the vector

Details

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

Author

Alex Westerberg, for DataSHIELD Development Team