Answers for "dataframe function in 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

Browse Popular Code Answers by Language