Description Usage Arguments Value See Also Examples
Combine an OPMX
or MOPMX
object with other objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | ## S4 method for signature 'ANY,MOPMX'
e1 + e2
## S4 method for signature 'MOPMX,ANY'
e1 + e2
## S4 method for signature 'MOPMX,OPMX'
e1 + e2
## S4 method for signature 'MOPMX,numeric'
e1 + e2
## S4 method for signature 'OPM,MOPMX'
e1 + e2
## S4 method for signature 'OPM,OPM'
e1 + e2
## S4 method for signature 'OPM,OPMS'
e1 + e2
## S4 method for signature 'OPM,list'
e1 + e2
## S4 method for signature 'OPM,numeric'
e1 + e2
## S4 method for signature 'OPMS,MOPMX'
e1 + e2
## S4 method for signature 'OPMS,OPM'
e1 + e2
## S4 method for signature 'OPMS,OPMS'
e1 + e2
## S4 method for signature 'OPMS,list'
e1 + e2
## S4 method for signature 'OPMS,numeric'
e1 + e2
## S4 method for signature 'numeric,MOPMX'
e1 + e2
## S4 method for signature 'numeric,OPM'
e1 + e2
## S4 method for signature 'numeric,OPMS'
e1 + e2
## S4 method for signature 'MOPMX'
c(x, ..., recursive = FALSE)
## S4 method for signature 'OPMX'
c(x, ..., recursive = FALSE)
|
x |
|
... |
Other R objects. |
recursive |
Logical scalar. See |
e1 |
|
e2 |
|
The OPMX
method of c
creates an
OPMS
object if possible, otherwise a list,
or an OPM
object (if ...
is not
given and x
is such an object). Similarly, the
MOPMX
method of c
creates a
MOPMX
object is possible and a list
otherwise.
If successful, +
yields an OPMS
object that contains the plates from both e1
and
e2
, but it raises an error if the plates cannot be
combined.
base::c
Other combination-functions: $<-
,
[<-
, [[<-
, opms
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # Adding nothing
dim(x <- c(vaas_1))
stopifnot(identical(x, vaas_1))
dim(x <- c(vaas_4))
stopifnot(identical(x, vaas_4))
# Not particularly useful: adding identical plates!
dim(x <- c(vaas_1, vaas_1)) # yields a two-plate OPMS object
stopifnot(identical(dim(x), c(2L, dim(vaas_1))))
# Also not particularly useful: adding partially identical plates!
dim(x <- c(vaas_4, vaas_1))
stopifnot(identical(dim(x), c(5L, dim(vaas_1))))
# The following examples do not show particularly useful additions, as the
# plates are either entirely or partially identical. Note the changes in the
# dimensions.
# OPM+OPM method
dim(x <- vaas_1 + vaas_1)
stopifnot(identical(dim(x), c(2L, dim(vaas_1))))
# OPM+OPMS method
dim(x <- vaas_1 + vaas_4)
stopifnot(identical(dim(x), c(5L, dim(vaas_1))))
# OPM+list method
dim(x <- vaas_1 + list(vaas_1, vaas_1))
stopifnot(identical(dim(x), c(3L, dim(vaas_1))))
# OPMS+OPMS method
dim(x <- vaas_4 + vaas_4)
stopifnot(identical(dim(x), c(8L, dim(vaas_4)[-1L])))
# OPMS+OPM method
dim(x <- vaas_4 + vaas_1)
stopifnot(identical(dim(x), c(5L, dim(vaas_1))))
# OPMS+list method
dim(x <- vaas_4 + list(vaas_1))
stopifnot(identical(dim(x), c(5L, dim(vaas_1))))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.