has_aggr {opm} | R Documentation |
Check whether aggregated or discretised data are present.
(See do_aggr
and do_disc
for
generating such data.) This always returns FALSE
for the OPM
class, but not necessarily for
its child classes. Alternatively, check for NA
values in the metadata or the estimated parameters.
## S4 method for signature 'MOPMX' anyNA(x, recursive = TRUE) ## S4 method for signature 'OPM' anyNA(x, recursive = TRUE) ## S4 method for signature 'OPMA' anyNA(x, recursive = TRUE) ## S4 method for signature 'OPMD' anyNA(x, recursive = TRUE) ## S4 method for signature 'OPMS' anyNA(x, recursive = TRUE) ## S4 method for signature 'MOPMX' has_aggr(object, ...) ## S4 method for signature 'OPM' has_aggr(object) ## S4 method for signature 'OPMS' has_aggr(object, ...) ## S4 method for signature 'MOPMX' has_disc(object, ...) ## S4 method for signature 'OPM' has_disc(object) ## S4 method for signature 'OPMS' has_disc(object, ...)
object |
|
x |
|
recursive |
Logical scalar. When |
... |
Optional arguments passed between the methods. |
Logical vector, one element per plate, or logical scalar
(in the case of anyNA
).
Other getter-functions: aggr_settings
,
aggregated
, anyDuplicated
,
contains
, csv_data
,
dim
, disc_settings
,
discretized
, duplicated
,
hours
, max
,
measurements
, minmax
,
seq
, subset
,
thin_out
, well
stopifnot(has_aggr(vaas_1), has_disc(vaas_1)) # OPM methods
stopifnot(has_aggr(vaas_4), has_disc(vaas_4)) # OPMS methods
stopifnot(!anyNA(vaas_1), !anyNA(vaas_4))