View source: R/calculate_errors.R
calculate_errors | R Documentation |
Function to calculate errors for an aggregation.
calculate_errors(x, type = "se", level = NA)
x |
Numeric or date vector to be summarised. |
type |
Type of error to calculate, either |
level |
When |
Tibble.
Stuart K. Grange.
# Create a vector
x <- sample(c(1:500, NA))
# Calculate errors
calculate_errors(x)
# Calculate errors with confidence intervals
calculate_errors(x, type = "ci", level = 95)
# Calculate errors with ranges
calculate_errors(x, type = "range")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.