Created
October 22, 2016 20:19
-
-
Save tchakravarty/89ec20c5b985d0ad5e89d12ffbe859d6 to your computer and use it in GitHub Desktop.
Create sample datasets with lots of similar variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(modelr) | |
library(lazyeval) | |
library(purrr) | |
# create the dataset | |
df_foo = wakefield::r_data_frame( | |
n = 100, | |
wakefield::r_series(wakefield::r_sample, j = 5, name = "cat"), | |
Y = wakefield::normal() | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment