Skip to content

Commit

Permalink
fixed example in rescaled bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Gussenbauer - QM committed May 25, 2020
1 parent 5ecb597 commit 0528784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rescaled.bootstrap.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#' eusilc.bootstrap <- rescaled.bootstrap(eusilc,REP=100,strata="db040",
#' cluster="db030",fpc="N.households")
#'
#' eusilc[,new_strata:=paste(db040,rb090,sep="_")]
#' eusilc[,new_strata:=paste(db040,hsize,sep="_")]
#' eusilc[,N.housholds:=sum(db090[!duplicated(db030)]),by=new_strata]
#' eusilc.bootstrap <- rescaled.bootstrap(eusilc,REP=100,strata=c("new_strata"),
#' cluster="db030",fpc="N.households")
Expand Down

0 comments on commit 0528784

Please sign in to comment.