"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j, drop = NULL)
"["(x, i, j) <- value
"$"(x, name) <- value
Extract
for more details.x
but containing only the
subset of rows and columns that are selected. See details for special
cases.
w.length
, a
data frame is returned instead of a spectral object.
subset.data.frame
and trim_spct
sun.spct[sun.spct$w.length > 400, ]
subset(sun.spct, w.length > 400)
tmp.spct <- sun.spct
tmp.spct[tmp.spct$s.e.irrad < 1e-5 , "s.e.irrad"] <- 0
e2q(tmp.spct[ , c("w.length", "s.e.irrad")]) # restore data consistency!
Run the code above in your browser using DataLab