View source: R/create_feature.R
This function create a new coll named with the description tag in the stat_units table. The function will extract feature form the measure table. You need to specify which tag you want, in which period you want to execute the aggregation method and which col name you want in the stat_units table.
1 2 3 4 5 6 7 8 | create_feature(
model,
tag_to_create,
wanted_tag,
start,
end,
aggregation_method = mean_aggregate
)
|
model |
An AnalysR model |
tag_to_create |
Label to write in the stat unit table |
wanted_tag |
The name of the measures we want to work on |
start |
A date marking the beginning of the studied time period. |
end |
A date marking the end of the studied time period. |
aggregation_method |
A function to aggregate data. Default: mean_aggregate |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.