Description Usage Arguments Value Author(s) Examples
This function checks if a numeric or character factor vector contains levels with counts > 0 and < 5.
1 | ag.checkfactor.ds(xvect)
|
xvect |
a numeric of character vector of type
|
a list which contains two elements: summary table
,
the results of the tabulation of the input vector
status
, tells if the factor is valid, 1 if one or
more levels have counts of between 0 and 5 and 0
otherwise.
Gaye, A.; Newby, C.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# load the file that contains the login details
data(logindata)
opals <- ag.ds.login(logins=logindata,assign=TRUE,variables=myvar)
# check that the factor does not contain categories with count > 0 and < 5
output <- datashield.aggregate(opals, quote(ag.checkfactor.ds(D$LAB_TSC)))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.