R 3.3 - Access or Create Columns in Data Frames, or Simplify a Data Frame using aggregate()
46 142
160.2
Google Developers2.39 млн
Опубликовано 1 июля 2013, 19:14
The with() function makes it easy to access many variables (columns) in a data frame for one-off calculations, the within() function can be used to create new columns that are merged with the original data frame, and aggregate() is useful for aggregating variables in a data frame across groupings based on one or more variables.