Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in R Programming by (7.3k points)
Can anyone tell me how to find an average in R programming?

1 Answer

0 votes
by (41.4k 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

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Browse Categories

...