O'Reilly logo

R Statistical Application Development by Example Beginner's Guide by Prabhanjan Narayanachar Tattar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – plot and pairs R functions

The scatter plot and its important multivariate extension with pairs will be considered in detail now.

  1. Consider the data data(DCD).

    Use the options xlab and ylab to specify the right labels for the axes. We specify xlim and ylim to get a good overview of the relationship.

  2. Obtain the scatter plot for Example 3.2.8. The Drain current versus the ground-to-source voltage using plot(DCD$Drain_Current, DCD$GTS_Voltage,type="b",xlim=c(1,2.2),ylim=c(0.6,2.4),xlab="Current Drain", ylab="Voltage").
    Time for action – plot and pairs R functions

    Figure 15: The scatter plot for DCD

    We can easily see from the preceding scatter plot that as the ground-to-source voltage ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required