| gen_quadratic | R Documentation |
This function generates a dataset representing a structure with a quadratic pattern.
gen_quadratic(n = 500, range = c(-1, 1))
n |
A integer value (default: 500) representing the sample size. |
range |
A numeric vector (default: c(-1, 1)) representing the range along x1 axis. |
A tibble containing a quadratic structure.
set.seed(20240412)
quadratic <- gen_quadratic(n = 500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.