The ‘surveyspec’ package is designed to make it a little easier for users to work with survey data in R—particularly those new to working with survey designs. This is done by providing a set of helper functions that allow survey data to be accompanied by a specification file which includes information about stratification, clustering, and so on. This way, there is less chance for surveys to be incorrectly specified to R, which can result in incorrect uncertainty estimates, potentially leading to invalid conclusions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.