Learn R Programming

spatstat (version 1.52-1)

copyExampleFiles: Copy Data Files for Example

Description

This command copies several data files to a folder (directory) chosen by the user, so that they can be used for a practice example.

Usage

copyExampleFiles(which, folder = getwd())

Arguments

which

Character string name (partially matched) of one of the datasets installed in spatstat for which the original data files are provided. If which is missing, a list of available options is printed.

folder

Character string path name of a folder (directory) in which the files will be placed. Defaults to the current working directory.

Details

The original text files containing data for the selected dataset are copied to the chosen folder.

This is part of an exercise described in Chapter 3 of Baddeley, Rubak and Turner (2015).

References

Baddeley, A., Rubak, E. and Turner, R. (2015) Analysing Spatial Point Patterns with R. Chapman and Hall/CRC, to appear.

See Also

vesicles, finpines

Examples

Run this code
# NOT RUN {
   copyExampleFiles()
# }

Run the code above in your browser using DataLab