I am new to R, so I apologize in advance if this is an elementary question, but I have searched high and low but have not found an answer.
I would like to make a file with more than one data frame within it. (An example is the dataset "flatlizards" in the BradleyTerry2 package. The file is called "flatlizards" but there are two data frames within it--"contests" and "predictors." When you ask to see the data "flatlizards" the two data frames are both shown separately under their corresponding headings).
How do I connect two separately-named data frames into one file? Also, how do I do this with CSV files? Do all the data need to be in one CSV file, or multiple files? Thank you in advance, I really appreciate the help.