write_spec | R Documentation |
Writes a survey specification file for the given survey design object.
write_spec(x, file, data_path, ...) ## Default S3 method: write_spec(x, file, data_path, ...) ## S3 method for class 'inzsvyspec' write_spec(x, file, data_path, ...) ## S3 method for class 'survey.design' write_spec(x, file, data_path, des, ...)
x |
a survey object |
file |
the path of a file to write to |
data_path |
the location of the data, relative. Only specify if distributing both, and relative paths will remain consistent. |
... |
additional arguments for methods |
des |
a survey design object, needed for calibrated/poststratified surveys |
Called for side-effect of writing to a file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.