On Tue, 11 Feb 2020 02:33:45 +0000 AndertechLLC--- via R-help <r-help@r-project.org> wrote:
> When debugging the code I am not following the generation of values > in the results object attr(*, "var")" after line 57 completes. These > values are fed into line 74 (rval <- t(sapply(results, unwrap))). Which version of the survey package you have in mind? I took a look at the latest version available on CRAN (3.37 at the time of this post, [*]) and the R/surveyby.R file has somewhat different code on lines 57 and 74. In particular, attr(*, "var") is assigned much later, from variable named covmat.mat, which is also computed later than line 74. -- Best regards, Ivan [*] https://cran.r-project.org/src/contrib/survey_3.37.tar.gz ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.