View source: R/helper_functions.R
equal_weights | R Documentation |
Constructs a vector with equal weights of 1/n_grid instead of numerical integration weights for one single function.
equal_weights(arg, range = NULL)
arg |
A numeric vector with 'time-points' (argument values) the function is evaluated at. Can be in non-increasing order. |
range |
the range of the interval integrated over. Must include all arg values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.