powered by
r_data - Generate a data set with pre-set columns selected.
r_data
r_data_theme - Generate a themed data set with pre-set columns.
r_data_theme
r_data(n = 500, ...)r_data_theme(n = 100, data_theme = "the_works")
r_data_theme(n = 100, data_theme = "the_works")
The length to pass to the randomly generated vectors (number of rows).
A data theme. Currently selections include:
all available variable functions
ID column plus 10 numeric 5-point Likert type response columns
ID column plus 10 5-point Likert type response columns
A set of optionally named arguments. Using wakefield variable functions require no name or call parenthesis.
Returns a tbl_df.
tbl_df
The pre-selected columns include:
ID
Race
Age
Sex
Hour
IQ
Height
Died
The user may use … to add additional columns. r_data is a convenience function to quickly produce a data set. For more specific usage use the more flexible r_data_frame function.
r_data_frame
# NOT RUN { r_data() r_data(10) r_data(10, paragraph, Attending = valid) peek(r_data_theme()) plot(r_data_theme(), flip=TRUE) r_data_theme(, "survey") r_data_theme(, "survey2") # }
Run the code above in your browser using DataLab