Learn R Programming

spatstat.geom (version 3.3-2)

edit.hyperframe: Invoke Text Editor on Hyperframe

Description

Invokes a text editor allowing the user to inspect and change entries in a hyperframe.

Usage

# S3 method for hyperframe
edit(name, ...)

Value

Another hyperframe.

Arguments

name

A hyperframe (object of class "hyperframe").

...

Other arguments passed to edit.data.frame.

Author

Adrian Baddeley Adrian.Baddeley@curtin.edu.au

Rolf Turner rolfturner@posteo.net

and Ege Rubak rubak@math.aau.dk

Details

The function edit is generic. This function is the methods for objects of class "hyperframe".

The hyperframe name is converted to a data frame or array, and the text editor is invoked. The user can change entries in the columns of data, and create new columns of data.

Only the columns of atomic data (numbers, characters, factor values etc) can be edited.

Note that the original object name is not changed; the function returns the edited dataset.

See Also

edit.data.frame, edit.ppp

Examples

Run this code
  if(interactive()) Z <- edit(flu)

Run the code above in your browser using DataLab