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:...
R Tip: Use qc() For Fast Legible Quoting
RTools & LanguagesProgramming Language|Rposted by John Mount February 28, 2018 John Mount
Here is an R tip. Need to quote a lot of names at once? Use
This is particularly useful in selecting columns from
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 4 2.320 # Hornet 4 Drive 21.4 6 3.215 # Hornet Sportabout 18.7 8 3.440 # Valiant 18.1 6 3.460
Or even to install many packages at once:
install.packages(qc(vtreat, cdata, WVPlots)) # shorter than the alternative: # install.packages(c("vtreat", "cdata", "WVPlots"))
My specialty is analysis and design of algorithms, with an emphasis on efficient implementation. I work to find applications of state of the art methods in optimization, statistics and machine learning in various application areas. Currently co-authoring "Practical Data Science with R"
Elon Musk: China Will Take on AI Regulations
AI and Data Science Newsposted by ODSC Team Jun 7, 2023
While speaking with Chinese leaders, Elon Musk commented that their government will take on AI regulations...
All of the Free Virtual Sessions Coming to ODSC Europe 2023
Europe 2023Conferencesposted by ODSC Team Jun 7, 2023
ODSC Europe is next week, coming up June 14th-15th, and we can’t wait to bring the...
Neuralangelo – NVIDIA’s Research for 3D Reconstruction Using Neural Networks
AI and Data Science Newsposted by ODSC Team Jun 6, 2023
NVIDIA Research has introduced Neuralangelo, an advanced AI model that utilizes neural networks for 3D reconstruction....