Description Usage Arguments Details Value Note Author(s) References See Also Examples
Of a data.frame, get the attributes with class 'factor' and 'ordered factor'.
1 |
x |
data.frame |
Factor variables are returned and indicated if also defined as 'ordered'.
grepColFactors() returns variables are returned and indicated if also defined as 'ordered'.
under continuous developement
Roland Rapold
none
grepColEntries
grepColNames
grepColNA
grepObjNames
grepNotCompleteEntries
grepMultipleEntries
grepRowNames
grepColNegNum
1 2 3 4 5 6 7 | if(require("car"))
{
require("car")
data(Mroz)
Mroz$wc_ord <- as.ordered(Mroz$wc)
print(grepColFactors(Mroz))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.