R/survey.R
set_data.Rd
Set new data for a Survey object.
set_data(svy, data, .copy = use_copy_default())
A Survey object.
The new data.
Whether to return a copy of the Survey object (default: TRUE).
The updated Survey object.