I am new to R and hope you guys can help me. I have a problem with the following script:
tab2 <- cbind(data.frame(mAs=c(as.numeric(levels(tabelle$Treatment)))),
data.frame(Area=c(tabelle$Area)),
data.frame(StdErr=c(tabelle$StdErr)),
data.frame(CILower=c(tabelle$CILower)),
data.frame(CIUpper=c(tabelle$CIUpper)))
This is what R is complaining:
Error in data.frame(..., check.names = FALSE) : arguments imply differing number of rows: 0, 9
I think the problem is because each column in a data.frame must be the same length. I just tried it with "unlist" but it doesn't work out.