R/survey_statistics_helpers.R
as_srvyr_result_df.Rd
srvyr uses data.frame columns wrapped by this function to know when to
automatically unpack the results for the user. When developing extensions
(see vignette extending-srvyr
), use this function to wrap the result
in so that summarize
knows to unpack them.
as_srvyr_result_df(x)
A data.frame
An object with the srvyr_result_df
added