0 votes
1 view
in R Programming by (6.5k points)
Can anyone tell me how to find an average in R programming?

1 Answer

0 votes
by (38.2k points)

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.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...