Following are the key plots described later in this article:
Following is the description for above mentioned plots along with code examples based on base R package. Note that each of the these plots could be done using different commands when using ggplot2 package.
hist(USArrests$UrbanPop, main="Histogram - Urban Population", xlab="Urban Population")
plot( variableAlongXAxis, variableAlongYAxis, data="DataSet", main="Plot Title", xlab="Label for X-Axis", ylab="Label for Y Axis" )
# Following command can as well be used
plot( responseParameter ~ predictorParameter, data="DataSet", main="Plot Title", xlab="Label for X-Axis", ylab="Label for Y Axis" )
Lets take an example from default data available in R package. Following R command prints the Scatterplot shown below:
plot( pressure ~ temperature, data=pressure, main="Pressure vs Temperature", xlab="Temperature", ylab="Pressure")
boxplot(pressure$pressure, main="Pressure Boxplot", ylab="Pressure")
Artificial Intelligence (AI) agents have started becoming an integral part of our lives. Imagine asking…
In the ever-evolving landscape of agentic AI workflows and applications, understanding and leveraging design patterns…
In this blog, I aim to provide a comprehensive list of valuable resources for learning…
Have you ever wondered how systems determine whether to grant or deny access, and how…
What revolutionary technologies and industries will define the future of business in 2025? As we…
For data scientists and machine learning researchers, 2024 has been a landmark year in AI…