R/combineSurveys.R

Defines functions combineSurveys

combineSurveys = function(...){

  Surveys = list(...)
  n = lapply(Surveys, function(x){
    rep(x$data$n, x$data$rn)
    })

  return(makePSData(unlist(n)))
}

Try the fitPS package in your browser

Any scripts or data that you put into this service are public.

fitPS documentation built on June 24, 2024, 9:09 a.m.