asFactorDS1 {dsBase} | R Documentation |
Determines the levels of the input variable in each single study
Description
This function is an aggregate DataSHIELD function that returns the levels of the input variable from each single study to the client-side function.
Usage
asFactorDS1(input.var.name = NULL)
Arguments
input.var.name |
the name of the variable that is to be converted to a factor. |
Details
The function encodes the input vector as factor and returns its levels in ascending order if the levels are numerical or in alphabetical order if the levels are of type character.
Value
the levels of the input variable.
[Package dsBase version 6.3.3 Index]