Description Usage Arguments Examples
In stochastic simulations, PLEXOS will return sample results and their statistics together. This function makes it easy to separate them with a filter.
1 |
x |
Vector of sample values from an rplexos query |
1 2 3 4 | ## Not run: db <- plexos_open()
## Not run: res <- query_month(db, "Generator", "Generation")
## Not run: res %>% filter(sample_stats(sample)) # To obtain statistics
## Not run: res %>% filter(!sample_stats(sample)) # To obtain sample results
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.