predicateFactory | R Documentation |
This function creates a predicate function based on a string defining the type of predicate to run and a numeric value. The currently supported types are 'proportionNonZero', 'variance' and 'sd'. The numeric value associated with each predicate type is the threshold for the predicate to be true.
predicateFactory(predicateType, threshold)
predicateType |
string defining the type of predicate to run. The currently supported values are 'proportionNonZero', 'variance' and 'sd' |
threshold |
numeric value associated with the predicate type |
Function returning a boolean indicating if a feature should be included (TRUE) or excluded (FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.