ys_fill_dots | R Documentation |
Please avoid thinking of this function as a way to mutate dots
. It sort of
is but not in the way you think. It really is for supplementing the spec
so that downstream functions are guaranteed to find these names with
sensible values for every column in the spec. mutate will be a different
function.
ys_fill_dots(x, ..., .overwrite = FALSE)
x |
A yspec object. |
... |
|
.overwrite |
Logical indicating whether |
By default, this function will not overwrite data in dots
when it already
exists. This behavior can be changed with the .overwrite
argument. Note
that when .overwrite
is TRUE
, all columns in the spec will have the
same value in dots
for the name
getting set.
A yspec
object with modified .dots
spec <- ys_help$spec()
spec2 <- ys_fill_dots(spec, new_var = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.