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

View source: R/zzz.R

sm.scriptR Documentation

Running a script associated to the sm library

Description

This is a utility function to run scripts, usually those associated with 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 the illustrations of the reference below to be reproduced easily, since each of them has an associated script. The display of the script file itself is controlled by the setting of the logical variable show.script in sm.options. This is set to TRUE by default.

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

sm.script()
sm.script(speed)

sm documentation built on May 29, 2024, 2:28 a.m.

Related to sm.script in sm...