Re: [R] HMISC package: wtd.table()

2009-01-26 Thread Peter Dalgaard
Frank E Harrell Jr wrote: I'm still learning english myself. Including capitalization rules? -- O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45)

Re: [R] HMISC package: wtd.table()

2009-01-26 Thread Frank E Harrell Jr
Dieter Menne wrote: Frank E Harrell Jr vanderbilt.edu> writes: (wtd.table(FamTyp.kurz,weigths=HGEW,normwt=FALSE,na.rm=TRUE)) That is one solution. The other is to spell 'weights' correctly Have pity with us German speakers. It was such a paing to learn "th" that we cannot resist to apply

Re: [R] HMISC package: wtd.table()

2009-01-26 Thread Dieter Menne
Frank E Harrell Jr vanderbilt.edu> writes: > > (wtd.table(FamTyp.kurz,weigths=HGEW,normwt=FALSE,na.rm=TRUE)) > > That is one solution. The other is to spell 'weights' correctly Have pity with us German speakers. It was such a paing to learn "th" that we cannot resist to apply it whenever po

Re: [R] HMISC package: wtd.table()

2009-01-26 Thread Frank E Harrell Jr
Norbert NEUWIRTH wrote: oops, that really was easy: (wtd.table(FamTyp.kurz,HGEW,normwt=FALSE,na.rm=TRUE)) instead of (wtd.table(FamTyp.kurz,weigths=HGEW,normwt=FALSE,na.rm=TRUE)) That is one solution. The other is to spell 'weights' correctly :-) Frank sorry for that question ... Am 26.

Re: [R] HMISC package: wtd.table()

2009-01-26 Thread Norbert NEUWIRTH
oops, that really was easy: (wtd.table(FamTyp.kurz,HGEW,normwt=FALSE,na.rm=TRUE)) instead of (wtd.table(FamTyp.kurz,weigths=HGEW,normwt=FALSE,na.rm=TRUE)) sorry for that question ... Am 26.01.2009, 10:30 Uhr, schrieb Norbert NEUWIRTH : > Hi useRs & developeRs, > > I got stuck within a functi

[R] HMISC package: wtd.table()

2009-01-26 Thread Norbert NEUWIRTH
Hi useRs & developeRs, I got stuck within a function of the Hmisc package. Sounds easy, hope it is: I got 2 items (FamTyp.kurz, HGEW) of same length, no missings. > length(FamTyp.kurz);summary(FamTyp.kurz) [1] 14883 Min. 1st Qu. MedianMean 3rd Qu.Max. 10.00 20.00 21.00 21.66