View source: R/Rfun_interpolate_zero.R
interpolate_zero | R Documentation |
Calculate the x-coordinates of a function where zero crossings occur
interpolate_zero(values, x = NULL)
values |
a numeric vector representing the function's output at specific points |
x |
Aa vector of x-coordinates corresponding to the values. If not provided, it defaults to 1:length(values) |
the x-coordinates where zero crossings occur. If no crossings are found, it returns NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.