dplyr | R Documentation |
dplyr
's own methods drop them. Use these methods without the .dtsurvey suffix and after loading the tidyverse package with the generic (or after loading package tidyverse).Tidyverse methods for dtsurvey objects. '_id' and attributes are sticky, use as.data.frame to let dplyr
's own methods drop them. Use these methods without the .dtsurvey suffix and after loading the tidyverse package with the generic (or after loading package tidyverse).
dplyr_reconstruct.dtsurvey(data, template)
select.dtsurvey(.data, ...)
dplyr_col_modify.dtsurvey(data, cols)
group_by.dtsurvey(...)
data |
data.frame object |
template |
template object to reconstruct |
.data |
data.frame object |
... |
other arguments |
cols |
cols to keep |
dplyr_reconstruct
Add the sdes and stype attributes back on so dtsurvey aggregation function still work
select
keeps the id column regardless whether it is selected or not; to deselect it, first pipe through as.data.frame
to let dplyr's own select
drop it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.