Click here to Skip to main content
14,391,232 members
Rate this:
Please Sign up or sign in to vote.
See more:
I need some help with R since I am new with this specific language. I need to create a table where the only data I have is ranges ((1,5],(5,10],(10,15]) and the respective percentage(40%,50%,10%). From the said table it has to be possible to calculate the Modal Class and a graph representing the data.

What I have tried:

I have no clue about how to input classes instead if simple numbers, and all I found on the web has resulted being unsuccessful, so every kind of help is awidely appreciated!
Thank you in advance.
Posted
Updated 2-Nov-19 4:42am
v2
Rate this:
Please Sign up or sign in to vote.

Solution 1

   
Rate this:
Please Sign up or sign in to vote.

Solution 2

   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100