Draw a Histogram and a Polygon by Using R Project
Draw a Histogram and a Polygon by Using R Project.
Monthly data on Air Passengers is always in R and accessed by the command.
AP=as.numeric(AirPassengers)
Save your time - order a paper!
Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines
Order Paper Nowthis will create an R object called AP in the memory of R. Your job is to first find how many data items are there and then to create a class-interval frequency table with 7 intervals and plot the information on a histogram and a polygon after including two dummy intervals.
Hints: n=length(AP)
use the width formula to determine suitable round number.
I suggest width wid=75 and LLFCI=100
Draw a Histogram and a Polygon by Using R Project