inst/script/make-na_example-rda.R

##Set working directory to package main directory
set.seed(8)
na_example <- rpois(1000,2)
na_example[na_example==0] <- NA
save(na_example, file = "data/na_example.rda")

Try the dslabs package in your browser

Any scripts or data that you put into this service are public.

dslabs documentation built on May 29, 2024, 6:29 a.m.