As we have seen the data in Plots and Box plot.
We have different Plotting shapes available in R Language:
- If shape given as 0 the data is represented in square plots.
- If shape given as 2 the data will be represented in triangle shape
Now let’s take a small example:
We will be using the same dataset used in my previous post
(https://sritechstudio.com/introduction-to-a-powerful-function-qplot-in-r-language/)
Here iam passing shape = 17, as per the above points chart, shape 17 is filled triangle, Now the data plots will be shown in filled triangular shape.
Function Alpha is used to display the data More Transparent.
If Alpha = 0 – Data is shown more Transparent
Alpha = 1 – Data is not shown More Transparent.