search for: cattail

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

2010 Jun 14
1
script development for Unconditional Density and Probability estimation
...o automatically get another metric. Any suggestion will be greatly appreciated. Currently running Windows XP, R 2.11.1 ############################################################################### Marsh <- cbind(SoilVegHydro, vegcode) AnnualDepth <- Marsh[,'meanAnnualDepthAve'] cattail_0 <- Marsh[,'cattail'] == '0' # no need to run for 8 species, automate if possible cattail_1 <- Marsh[,'cattail'] == '1' # yes need to run for 8 species spbase.rate.d1 <- sum(cattail_1)/(sum(cattail_1) + sum(cattail_0) ) annualDepth.dens...
2010 Feb 05
2
glm models with more than one response
...mple point locations. Ultimately I'd like to use the probabilities for each response category in a simulation model such that these probabilities are used to define a realized ecological niche. When I try the following it works for a single response. Typha.glm <- glm(fwc$VegType == "Cattail" ~ fwc$TP + fwc$TC + fwc$TN + fwc$BD + fwc$LOI + fwc$Total_Mg, family = poisson) But if I try this without specifying a specific VegType it fails. plants.glm <- glm(fwc$VegType ~ fwc$TP + fwc$TC + fwc$TN + fwc$BD + fwc$LOI + fwc$Total_Mg, family = poisson) Error in y + 0.1 : non-numer...