Learn R Programming

sm (version 2.0-2)

sm.script: Running a script associated to the sm library

Description

This is a utility function to run scripts, usually those associated to the book described below.

Usage

sm.script(name, path)

Arguments

name
the name of the file containing the code; a .q suffix will be appended to the name. If name is missing, a list of the scripts associated to the sm library will be displayed.
path
the name of the path where to look for the script. If path is missing, it is assumed to be the appropriate location for the scripts of the sm library.

Details

This utility allows to reproduce easily the illustrations of the refernce below, since each of them is associated to an available script.

References

Bowman, A.W. and Azzalini, A. (1997). Applied Smoothing Techniques for Data Analysis: the Kernel Approach with S-Plus Illustrations. Oxford University Press, Oxford.

See Also

sm,

Examples

Run this code
sm.script()
sm.script(speed)

Run the code above in your browser using DataLab