Description:
apply() function is appropriate to apply a function to each column of a data frame or matrix. Alternatively, map_df() is suitable for applying a function to columns of a data frame in R . You have to install pakcage 'purrr' first.
#rstudio
#apply
#dataframe
#rdatacode
Share this link via
Or copy link
























