If you want to compute arbitrary operations on a data frame returning more than one number back, use dplyr do()! Tips and suggestions, in SE and NSE version.
Let's go deeper into methods overloading, and play around with classes, environment, operators and other R "oddities". How? Trying to emulate some C function in R.
Info, dates and topics of our five Autumn R Courses: from programming to data manipulation, from statistics to data mining, everything with R.
Reshape your data from long to wide, split a column, aggregate: a comparison between tidyr and reshape2 R packages to tidy data
A MilanoR meeting is an occasion to bring together R users from the Milano area to share R tips and experience: the next one will be Thursday, October 27th. We are looking for volunteers to present at the next meeting: if you feel you have something to input or you can recommend someone, please contact us!
I would like to propose, as a kind of tribute and language game, a method for inventing words —actually, more an algorithm than a method.
Move forward from being a R user to become a R developer. Discover from an inner perspective the R working mechanisms and master your R programming skills.
Detect sentinel values, recode factor variables, replace missing values: a tutorial on various steps in data preparation using R.
Discover Data Mining with R: find patterns in large data sets using the R tools for Dimensionality Reduction, Clustering, Classification and Prediction.
Cross-validation is a widely used model selection method. We show how to implement it in R using both raw code and the functions in the caret package.