File:RugFunction.png
Jump to navigation
Jump to search
RugFunction.png (525 × 525 pixels, file size: 6 KB, MIME type: image/png)
See p129 & 132 of Modern Applied Statistics with S (4th ed).
The following example is taken from help(rug).
require(stats) with(faithful, { plot(density(eruptions, bw = 0.15)) rug(eruptions) rug(jitter(eruptions, amount = 0.01), side = 3, col = "light blue") })
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:03, 12 January 2015 | 525 × 525 (6 KB) | Brb (talk | contribs) | require(stats) # both 'density' and its default method with(faithful, { plot(density(eruptions, bw = 0.15)) rug(eruptions) rug(jitter(eruptions, amount = 0.01), side = 3, col = "light blue") }) |
You cannot overwrite this file.
File usage
There are no pages that use this file.