search for: acsa2

Displaying 2 results from an estimated 2 matches for "acsa2".

Did you mean: acsa
2007 Jul 08
1
generating a data frame with a subset from another data frame
R gurus, I have a data set that looks something like this: Site Species DBH #Vines G PLOC 45.9 4 G ACNE 23.3 1 G ACNE 12.0 0 G FRAM 35.9 5 G AEGL 11.2 2 N PLOC 77.3 12 N JUNI 78.6 7 N ACNE 18.9 1 N ACNE 15.7 3 N ACRU 35.5 4 H ACSA2 24.1 6 H ULAM 35.2 7 There are 730 individual trees (22 species) from four sites in the actual data set. I would like to create a second data frame that contains just the most common species (mainly ACNE, PLOC, ULAM, FRAM, and ACSA2). Here's some of my attempts: >study.1<-subse...
2007 Aug 31
1
Strange behavior using subset
..."))), I get an error message: > Warning messages: > 1: longer object length > is not a multiple of shorter object length in: is.na(e1) | is.na(e2) > 2: longer object length > is not a multiple of shorter object length in: `==.default` > (Species, c("ACNE", "ACSA2", "JUNI", "PLOC", "ULAM")) If I then only select for two species instead of five, the error messages disappear HOWEVER, the data will be cut in half, so the new data frame only contains 13 records of species 1 (instead of 26 as in the original) and 12 recor...