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 – using the boxplot

Boxplots will be obtained here using the function boxplot from the graphics package as well as bwplot from the lattice package.

  1. Check the variety of boxplots with example(boxplot) from the graphics package and example(bwplot) for the variants in the lattice package.
  2. The resistivity data from the RSADBE package contains two processes' information which we need to compare. Load in to the current session with data(resistivity).
  3. Obtain the summary of the two processes with the following:
    > summary(resistivity)
            Process.1 Process.2
    Min.        0.138     0.142
    1st Qu.     0.140     0.144
    Median      0.142     0.146
    Mean        0.142     0.146
    3rd Qu.     0.143     0.148
    Max.        0.146     0.150

    Clearly, Process 2 has approximately 0.004 higher resistivity as compared to Process ...

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