Last chance! 50% off unlimited learning
Sale ends in
"fasp"
).## S3 method for class 'fasp':
[(x, I, J, drop=TRUE,\dots)
"fasp"
.drop=FALSE
the result is still returned as a
$1 \times 1$ array of functions (class "fasp"
)
while if drop=TRUE
it i"fasp"
).
Exceptionally, if the array has only one cell, and
if drop=TRUE
, then the result is a function value table
(class "fv"
).fasp.object
for an explanation of
function arrays.This routine extracts a sub-array according to the usual conventions for matrix indexing.
fasp.object
# Lansing woods data - multitype points with 6 types
data(lansing)
<testonly># smaller dataset
lansing <- lansing[ seq(1,lansing$n,by=45), ]</testonly>
# compute 6 x 6 array of all cross-type K functions
a <- alltypes(lansing, "K")
# extract first three marks only
b <- a[1:3,1:3]
plot(b)
# subset pertaining to hickories
h <- a[levels(lansing$marks) == "hickory", ]
plot(h)
Run the code above in your browser using DataLab