Close this window

Example 1.1 from Bowman &Azzalini is transferred to R, using the relevant version of the sm library. Left, upper: the R console. Left, lower: information window for the loaded aircraft data. Right: graphics window with R's own histogram and the smoothed curve generated from the sm library. At this level, there is no difference in working between S-Plus and R. As the examples become more complex, differences begin to emerge.