Skip to main content

numeric_or_text_check

Function numeric_or_text_check 

Source
fn numeric_or_text_check(param: &str) -> String
Expand description

Build the predicate for the AsNumeric / AsNumericVec markers.

is.numeric() is FALSE for a factor, so is.factor() is listed on its own: the marker reads a factor by its labels. Raw and complex stay out, as the marker refuses them.