Quantcast
Channel: Finance Train
Viewing all articles
Browse latest Browse all 822

Creating a Line Chart in R

$
0
0

In R, we can create a line plot using the same plot() function by adding a plot type of “l”. This will plot the (x,y) paired observations and connect them with lines. Let’s generate our own data for this lesson. We will use the rnorm() function to generate a set of 100 random numbers that follow a normal distribution. […]

The post Creating a Line Chart in R appeared first on Finance Train.


Viewing all articles
Browse latest Browse all 822

Trending Articles