R Tip: Use qc() For Fast Legible Quoting

Win-Vector Blog 2018-02-17

Summary:

Here is an R tip. Need to quote a lot of names at once? Use qc(). This is particularly useful in selecting columns from data.frames: library("wrapr") # get qc() definition head(mtcars[, qc(mpg, cyl, wt)]) # mpg cyl wt # Mazda RX4 21.0 6 2.620 # Mazda RX4 Wag 21.0 6 2.875 # Datsun 710 22.8 … Continue reading R Tip: Use qc() For Fast Legible Quoting

Link:

http://www.win-vector.com/blog/2018/02/r-tip-use-qc-for-fast-legible-quoting/

From feeds:

Statistics and Visualization » Win-Vector Blog

Tags:

Authors:

John Mount

Date tagged:

02/17/2018, 19:05

Date published:

02/17/2018, 17:04