Let\'s say you have this data in R, and you want to post a question on stackoverflow. For others to best help you, it would be nice if they could have a copy of your object
The dput command writes an ASCII representation. If instead of a filename you put "" it will write it to the console
> dput(site.data,"")
structure(list(site = structure(c(1L, 1L, 1L, 2L, 2L, 2L, 3L,
3L, 3L), .Label = c("ALBEN", "ALDER", "AMERI"), class = "factor"),
year = c(5L, 10L, 20L, 5L, 10L, 20L, 5L, 10L, 20L), peak = c(101529.6,
117483.4, 132960.9, 6561.3, 7897.1, 9208.1, 43656.5, 51475.3,
58854.4)), .Names = c("site", "year", "peak"), row.names = c(1L,
2L, 3L, 8L, 9L, 10L, 15L, 16L, 17L), class = "data.frame")
Just copy the structure and put it after "site.data=" in your example code and people will be able to recreate the data frame exactly as you have it.