Skip to content
Prev 366374 / 398502 Next

how to extract weighted data in "survey" package

# 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 <kristi.glover at hotmail.com>
wrote:

  
  
Message-ID: <CAOwvMDzX6ynvk3BiEEP=wkd-b2V2om9sJ39qe0+owTE8Xbt2kA@mail.gmail.com>
In-Reply-To: <DM3PR13MB065282B9229E45F06A9BD22DFA6C0@DM3PR13MB0652.namprd13.prod.outlook.com>