data-raw/create_sample_data.R

set.seed(100)
library(tibble)
x = rnorm(100)
y = x^2 + rnorm(100)

sample_data = tibble(x = x, y = y)

usethis::use_data(sample_data, compress = "xz")
jennyjyounglee/tester1 documentation built on Dec. 20, 2021, 11:02 p.m.