copyExampleFiles

0th

Percentile

Copy Data Files for Example

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

Keywords
spatial
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) Spatial Point Patterns: Methodology and Applications with R. Chapman and Hall/CRC Press.

See Also

vesicles, finpines

Aliases
  • copyExampleFiles
Examples
# NOT RUN {
   copyExampleFiles()
# }
Documentation reproduced from package spatstat.data, version 1.4-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.