dplyr-surveydata | R Documentation |
The surveydata
package exposes functionality to support some of the dplyr
verbs, e.g. dplyr::filter()
. The computation is performed by dplyr
, and the resulting object is of class surveydata
(as well as the dplyr
result).
## S3 method for class 'surveydata' mutate(.data, ...) ## S3 method for class 'surveydata' as_tibble(x, ..., .name_repair, rownames) ## S3 method for class 'surveydata' as.tbl(x, ...) ## S3 method for class 'surveydata' select(.data, ...) ## S3 method for class 'surveydata' arrange(.data, ...) ## S3 method for class 'surveydata' summarise(.data, ...) ## S3 method for class 'surveydata' summarize(.data, ...) ## S3 method for class 'surveydata' slice(.data, ...)
.data |
|
... |
passed to dplyr verb |
withr::with_package("dplyr", { membersurvey %>% as_tibble() %>% .[c("id", "Q1", "Q2")] %>% filter(Q2 == 2009) })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.