search for: studysite

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

Did you mean: studysites
2008 Mar 09
1
sampsize in Random Forests
Hi all, I have a dataset where each point is assigned to a class A, B, C, or D. Each point is also assigned to a study site. Each study site is coded with a number ranging between 1-100. This information is stored in the vector studySites. I want to run randomForests using stratified sampling, so I chose the option strata = factor(studySites) But I am not sure how to control the number of samples taken from each study site. I tried to use 10 points from each study site: mySampSize = rep(10, 100) So my function call looks like: R...
2010 Jul 15
0
Histogram with two groups on the same graph (not on separate panels)
...edited> 231 47.6 235   NA 238 50.3 241 50.5 243 62.8 244 59.0   FYI:  The structure of my dataset, gb looks like: > str(gb) 'data.frame':   308 obs. of 43 variables:  $ id           : Factor w/ 290 levels "(023.541.040) G7",..: 241 244 243 245 278 193 194 195 196 197 ...  $ studysite    : Factor w/ 29 levels "Assabu","Astushinai",..: 20 19 19 19 19 29 29 29 29 29 ...  $ studysitecode: int  NA NA NA NA NA 7 7 7 7 7 ...  $ subsite      : int  NA NA NA NA NA 18 18 18 18 18 ...  $ sitecond     : int  NA NA NA NA NA 1 1 1 1 1 ...  $ Habitat      : Factor w/ 6 le...