Answers for "apply function to dataframe column r"

1

how to apply a function to a dataframe in r

x = apply(df, MARGIN = 2, FUN = mean)
Posted by: Guest on October-23-2020

Code answers related to "apply function to dataframe column r"

Browse Popular Code Answers by Language