Can anyone tell me how to find an average in R programming?

Login

0 votes

If values are less, then you can calculate the average of the values by summing up all the values and dividing the sum by the total number of the values present. If the dataset is large, you can directly use the mean() function to calculate the average. Note that you have to give the column name as the parameter in the mean() function.

If you are looking for an online course to learn R programming, check out this R Programming Training by Intellipaat.