Re: [R] how to extract weighted data in "survey" package

2017-01-01 Thread Anthony Damico
n(~api00, dstrat) > > > mean(apistrat$api00*apistrat$pw/100) > > > > > > > -------------- > *From:* Anthony Damico > *Sent:* January 1, 2017 8:00 AM > *To:* Kristi Glover > *Cc:* R-help > *Subject:* Re: [R] how to extract weighted data in "

Re: [R] how to extract weighted data in "survey" package

2017-01-01 Thread Kristi Glover
w data and afetr adjusted svymean(~api00, dstrat) mean(apistrat$api00*apistrat$pw/100) From: Anthony Damico Sent: January 1, 2017 8:00 AM To: Kristi Glover Cc: R-help Subject: Re: [R] how to extract weighted data in "survey" package # loa

Re: [R] how to extract weighted data in "survey" package

2017-01-01 Thread Anthony Damico
# load the survey library library(survey) # load the apistrat data.frame data(api) # look at the first six records head(apistrat) # look at the weight column only apistrat$pw On Sun, Jan 1, 2017 at 9:49 AM, Kristi Glover wrote: > Hi R Users, > > Happy New Year > > > I wanted to see the da