I want to share an edited screencast of my rehearsal for my recent San Francisco Bay Area R Users Group talk:
Categories: Administrativia
jmount
Data Scientist and trainer at Win Vector LLC. One of the authors of Practical Data Science with R.
I want to share an edited screencast of my rehearsal for my recent San Francisco Bay Area R Users Group talk:
Categories: Administrativia
Data Scientist and trainer at Win Vector LLC. One of the authors of Practical Data Science with R.
To make “
let
” easier to import I have moved it to a new low-dependency package:wrapr
. Newerreply
will re-export “let
” so all the examples should continue to work. Please see here for some details.Great stuff. You can eliminate the temporary column name in your lazyeval::interp example, though it requires nesting: d %>% mutate_(.dots = stats::setNames(lazyeval::interp(~ is.na(VAR), VAR = as.name(cname)), rname))
Thanks, I appreciate the support and the info.
I tried it in the source of
vignette('ParametricExample', package= 'replyr')
, and for me that sets the result column to “is.na(x)
” (an improvement), not exactly to “x_isNA
” (my goal in that vignette). MypackageVersion('lazyeval')
is0.2.0
(currentCRAN
version as of Feb 28, 2017).Oops I forgot you should surround the interp() call with list().
Walter, Thanks for taking the time to work this out! I learned something here. I’ve update the matching vignette to remove all uses of
rename_()
.