search for: dolanc

Displaying 7 results from an estimated 7 matches for "dolanc".

2012 Aug 07
5
summing and combining rows
...4" or with the SizeClass variable removed. I actually do have other size classes that I want to leave alone, but combine 3 and 4, so if I could figure out how to do this by creating a new class, that would be preferable. I've also attached a more detailed sample of data. Thanks, Chris Dolanc -- Christopher R. Dolanc Post-doctoral Researcher University of Montana and UC-Davis -------------- next part -------------- Data Plot Lat LatCat Elevation ElevCat Type SizeClass Stems Area Density 5171 VTM 39C16 39.76282 Lat6 1500 Elev1 Conifer...
2011 Feb 25
4
means, SD's and tapply
..."stems353ABCO1" and I can run analyses on this. But, trying to extract means straight from those subsets doesn't seem to work > mean(stems353ABCO1) [1] NA Warning message: In mean.default(stems353ABCO1) : argument is not numeric or logical: returning NA > Thanks, Chris Dolanc -- Christopher R. Dolanc PhD Candidate Ecology Graduate Group University of California, Davis Lab Phone: (530) 752-2644 (Barbour lab) [[alternative HTML version deleted]]
2012 Apr 05
2
count() function
...VTM Class2 39.40786 34.9343269 11782.95152 6 Elev1 VTM Class3 21.17839 12.3487600 1461.30895 But, instead of "sum(Density)", I'd really like counts of "Density", so that I know the sample size of each group. Any suggestions? -- Christopher R. Dolanc Post-doctoral Researcher University of California, Davis
2012 Oct 11
2
extracting groups from hclust() for a very large matrix
...ror in vegemite(VTM.Matrix, VTM.HClust) : Cowardly refusing to use longer than 1 char symbols: Use scale Does anybody know how I can get a simple list of plots in each category? I would think this would be something like a summary command. Perhaps a different clustering method? Thanks, Chris Dolanc -- Christopher R. Dolanc Post-doctoral Researcher University of Montana and UC-Davis
2011 Feb 08
1
Grouping by factors in R
...a), .Machine$double.eps) : cannot mix 0-length vectors with others In addition: Warning messages: 1: In Ops.factor(Time, SizeClass) : | not meaningful for factors 2: In Ops.factor(Time | SizeClass, Species) : | not meaningful for factors I'd appreciate any help. Thanks. -- Christopher R. Dolanc PhD Candidate Ecology Graduate Group University of California, Davis Lab Phone: (530) 752-2644 (Barbour lab)un
2012 Jun 05
0
Improper coding for an offset in vglm()?
...isson" and it makes no difference. I've also tried taking out the log part of the offset, just to see what would happen, but couldn't get the model to run. I'm currently working with R 2.14.1. I'd love any ideas you may have on possible solutions. Chris -- Christopher R. Dolanc Post-doctoral Researcher University of Montana and UC-Davis -------------- next part -------------- Data Plot Stems Area Density FIA 8.87E+12 1 665.0103 15.03736 FIA 2.51E+13 2 672.45 29.74199 FIA 8.94E+12 3 619.9869 48.38812 FIA 2.38E+13 1 601.4576 16.62628 FIA 1.31E+13 2 634.6976 31.51107 FIA 2...
2012 Mar 25
2
avoiding for loops
I have data that looks like this: > df1 group id 1 red A 2 red B 3 red C 4 blue D 5 blue E 6 blue F I want a list of the groups containing vectors with the ids. I am avoiding subset(), as it is only recommended for interactive use. Here's what I have so far: df1 <- data.frame(group=c("red", "red", "red", "blue",