[R] extracting groups from hclust() for a very large matrix

2012-10-11 Thread Christopher R. Dolanc
d 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 __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

[R] summing and combining rows

2012-08-07 Thread Christopher R. Dolanc
th 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 -- Chris

[R] Improper coding for an offset in vglm()?

2012-06-05 Thread Christopher R. Dolanc
ldn'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 DataPlotStems AreaDensity FIA 8.87E+121

Re: [R] count() function

2012-04-06 Thread Christopher R. Dolanc
sing ftable on table's output gives a nicer looking printout, but table's output is easier to use in a program. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Chri

[R] count() function

2012-04-05 Thread Christopher R. Dolanc
VTMClass3 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 Researc

[R] means, SD's and tapply

2011-02-25 Thread Christopher R. Dolanc
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

Re: [R] Grouping by factors in R

2011-02-08 Thread Christopher R. Dolanc
ided per > instructions in the Posting Guide... > > HTH, > Dennis > > > On Tue, Feb 8, 2011 at 11:54 AM, Christopher R. Dolanc > mailto:crdol...@ucdavis.edu>> wrote: > > I'm having a hard time figuring out how to group results by > certain factors

[R] Grouping by factors in R

2011-02-08 Thread Christopher R. Dolanc
gives me this message: Error in pmax(exp(eta), .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 meaningf