Hello All,
I am still a beginner with R, and I only have a week or two under my belt so
far.
I'm working with NHANES anthropometric data on stature. I have two sets of
data that have different statistical weights. I'm trying to combine those
two data sets into one "mega-set" while retaining eac
Here it is...
> str(Males$BMXHT)
num [1:2801] 168 161 180 182 169 ...
> str(Females$BMXHT)
num [1:3440] 162 159 164 165 159 ...
> str(Males$yourWeight)
num [1:2801] 1148 788 10298 25115 8691 ...
> str(Females$myWeight)
num [1:3440] 9169 4964 2608 2806 907 ...
I want to combine Males$BMXHT wi
Sorry,
Rather, it should be:
wtd.quantile(Everybody$BMXHT, weights=Everybody$ourWeight, 0.05)
Thanks again,
Brian.
--
View this message in context:
http://r.789695.n4.nabble.com/Combining-Data-Sets-w-Weights-tp2543167p2543998.html
Sent from the R help mailing list archive at Nabble.com.
_
Good News!
I think I figured out my problem.
The command I was looking for was append().
Thank you for your help,
Brian
--
View this message in context:
http://r.789695.n4.nabble.com/Combining-Data-Sets-w-Weights-tp2543167p2544125.html
Sent from the R help mailing list archive at Nabble.com
4 matches
Mail list logo