riemann_sum | R Documentation |
This function calculates the area under the curve for a density function.
riemann_sum( df, ..., group_by_col = NULL, inc.value = NULL, min.value = NULL, max.value = NULL, debug = FALSE )
... |
variables to be studied (no quotes) |
group_by_col |
name of the variable for the grouping (if there is one) |
inc.value |
split the studied variable in increments of x |
min.value |
min value of x for witch the riemann.sum will estimate the area under the curve |
max.value |
max value of x for witch the riemann.sum will estimate the area under the curve |
debug |
debuggin options on or off |
dataframe with values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.