Displaying 1 result from an estimated 1 matches for "tp4586534p4586711".
2012 Apr 25
1
fill a dataframe with zeros where the rows are a smaller subset of a larger dataframe (species by site)
row <- c("a","b","c","d","e","f","g") #rows from larger data frame
row.1 <- c("a","b","c","g") #rows of smaller data frame because d, e,
and f don't contain any of the species, but the zeros are important
x <- data.frame(sp1=rnorm(4), sp2=rnorm(4), sp3=rnorm(4),