Description Usage Arguments Details Value Examples
Interactively manipulate a data.frame
or a tibble
. The resulting
code will be emitted as an R code.
1 | dplyrAssist(df = NULL, right = NULL)
|
df |
A tibble or a tbl_df or a data.frame to manipulate |
right |
Optional second data(A tibble or a tbl_df or a data.frame) to join |
This addin can be used to interactively manipulate a data.frame
or a tibble
using dplyr.
The intended way to use this is as follows:
1. Highlight a symbol naming a data.frame
or a tibble
in your R session,
e.g. mtcars
,
2. Execute this addin, to interactively manipulate it.
When you're done, the code for data manipulation will be emitted at the cursor position.
A manipulated tibble or NULL
1 2 3 4 5 6 7 8 9 10 | library(tidyverse)
library(nycflights13)
## Not run:
dplyrAssist(band_members,band_instruments)
dplyrAssist(flights)
result<-dplyrAssist(iris)
cat(attr(result,"code"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.