Cut function in ggplot2


You need to put “cut”,
You need to put “breaks”,
Then label it.
But don’t forget,
To include the lowest one,
If the left is open.
Don’t bring the “aes”,
If it is category and not continuous.

These lines are dedicated to the function “cut” in ggplot2 package in R programming.

 

Parmit Singh Dhurandhar

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s