A test dataset based on the piecewise function f(x) = (x+2)^2 when x<0 and f(x) = (x-2)^2 when x>0 with Gaussian noise with a standard deviation of 0.5.
1 |
A data frame with 100 rows and 4 variables:
seq(-4, 4, length.out = 100)
true value
observation with noise
true derivative
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.