I know how to manually create reproducible code, e.g.
a<-c(0,1,1,0,0,1)
b<-c("A","B","A","B","A","B")
c<-c(1,1,2,2,3,3)
However, I want to provide the code with my actual data (with >100 rows) is there a way to "copy" the dataframe into a code format without typing the individual values? (i.e. a<-c(0,1,... for all my values))
Thank you very much!
No comments:
Post a Comment