spatstat (version 1.37-0)

fvnames: Abbreviations for Groups of Columns in Function Value Table

Description

Groups of columns in a function value table (object of class "fv") identified by standard abbreviations.

Usage

fvnames(X, a = ".")

fvnames(X, a = ".") <- value

Arguments

X
Function value table (object of class "fv"). See fv.object.
a
One of the standard abbreviations listed below.
value
Character vector containing names of columns of X.

Value

  • For fvnames, a character vector.

    For fvnames<-, the updated object.

Details

An object of class "fv" represents a table of values of a function, usually a summary function for spatial data such as the $K$-function, for which several different statistical estimators may be available. The different estimates are stored as columns of the table.

Auxiliary information carried in the object X specifies some columns or groups of columns of this table that should be used for particular purposes. For convenience these groups can be referred to by standard abbreviations which are recognised by various functions in the spatstat package, such as plot.fv.

These abbreviations are: ll{ ".x" the function argument ".y" the recommended value of the function ".s" the upper and lower limits of shading (for envelopes and confidence intervals) "*" all columns except the function argument "." all columns plotted by default. }

The command fvnames(X, a) expands the abbreviation a and returns a character vector containing the names of the columns.

The assignment fvnames(X, a) <- value changes the definition of the abbreviation a to the character vector value.

See Also

fv.object, plot.fv

Examples

Run this code
K <- Kest(cells)
   fvnames(K, ".y")
   fvnames(K, ".y") <- "trans"

Run the code above in your browser using DataCamp Workspace