This is a basic R-programming code that creates a data frame containing information about vegetables, countries, units sold, and price per unit. In this, I have performed basic data frame techniques like
- Creating vectors and combining them into a data frame
- Finding Minimum and maximum values & Sum and average
- Printing top and bottom rows as per requirement
- Calculation dimension and so on.
Just go through my work...