View source: R/getFeaturesValues.R
get_feat_value | R Documentation |
Computes feature values from feature definition
get_feat_value(
feat_def,
features,
alt_names,
operators = c("+", "-", "*", "/", "(", ")", "ABS", "COS", "SIN", "SQR", "SQRT"),
split = "|"
)
feat_def |
a feature definition as created by |
features |
a data.frame of features, typically an object of class 'IFC_features'. |
alt_names |
vector of same length as features to use for substitution. It can be used to speed up the process. |
operators |
operators used. Default is c("+", "-", "*", "/", "(", ")", "ABS", "COS", "SIN", "SQR", "SQRT"). |
split |
string used for splitting. Default is "|". |
if 'feat_def$type' is "combined" returned value will be computed according in the scope of 'features' according to 'feat_def$def'. Otherwise, 'feat_def$name' will be searched in 'features' to return value, and if not found 'feat_def$val' will be returned.
a vector of feature values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.