key1 {groupedHyperframe} | R Documentation |
Black-Solid-Curve in plot.fv
Description
Name and value of the black solid curve as shown in plot.fv, i.e., the primary outcome of an fv.object.
Usage
key1.fv(x)
key1val.fv(x)
trapz.fv(x)
cumtrapz.fv(x)
## S3 method for class 'fv'
is.finite(x)
Arguments
x |
an fv.object |
Details
Function key1.fv()
finds the name of the primary outcome
of an fv.object.
Function key1val.fv()
finds the value of the primary outcome
of an fv.object.
Functions trapz.fv()
and cumtrapz.fv()
obtain the (cumulative)
trapzoidal integration of the area under the primary outcome
of a function value fv.object.
Function is.finite.fv()
(dispatch of S3 generic is.finite)
finds the finite,
i.e., non-NA
, non-NaN
and non-Inf
,
indices of the primary outcome of an fv.object.
Value
Function key1.fv()
returns a character scalar.
Function key1val.fv()
returns a numeric vector.
Function trapz.fv()
returns a numeric scalar.
Function cumtrapz.fv()
returns a numeric vector.
Function is.finite.fv()
returns a logical vector.
Examples
library(spatstat.data)
library(spatstat.geom) # ?spatstat.geom::subset.ppp
library(spatstat.explore)
foo = function(x) {
x |> plot()
'Trapzoid\n' |> cat()
x |> trapz.fv() |> print()
'\nCumulative Trapzoid\n' |> cat()
x |> cumtrapz.fv() |> tail() |> print()
}
# numeric mark
spruces |> Emark() |> foo()
spruces |> Vmark() |> foo()
spruces |> markcorr() |> foo()
spruces |> markvario() |> foo()
# multitype mark
(btc = subset.ppp(betacells, select = 'type'))
btc |> Gcross(i = 'off', j = 'on') |> foo()
btc |> Kcross(i = 'off', j = 'on') |> foo()
btc |> Lcross(i = 'off', j = 'on') |> foo()
btc |> Jcross(i = 'off', j = 'on') |> foo()
btc |> markconnect(i = 'off', j = 'on') |> foo()
swedishpines |> roc.ppp(covariate = 'x') |> foo()