search for: ire1

Displaying 1 result from an estimated 1 matches for "ire1".

Did you mean: ide1
2006 Aug 28
2
Cannot get simple data.frame binding.
...aterials.Rdata") > md1<-partly.corrected.materials > aa <- which(names(md1)=="oaks") > bb <- length(names(md1)) > > # sum the values of the "other" variables > mat1 <- as.matrix( md1[, aa:bb] ) > other <- apply(mat1,1, sum, na.rm=T) > ire1 <- data.frame(md1[, 1:11], other) Error in data.frame(md1[, 1:11], other) : arguments imply differing number of rows: 11, 75 --------------------------------------------- I have simply worked around the problem by using ire1 <- data.frame(md1$site, md1$colour, md1$ss1 ... , other) but I w...