Functions to combine ilab objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
rbind(..., deparse.level = 1) ## Default S3 method: rbind(..., deparse.level = 1) ## S3 method for class 'ilab' rbind(..., deparse.level = 1) ## S3 method for class 'ilab' c(..., recursive=FALSE) cbind(..., deparse.level = 1) ## Default S3 method: cbind(..., deparse.level = 1) ## S3 method for class 'ilab' cbind(..., deparse.level = 1)
integer controlling the construction of labels. Passed
logical, controlling recursion in lists. Included solely for
object of class ‘ilab’.
The generic and default cbind and rbind functions defined by metRology use the first
'...' to decide which method to apply. This differs from the behaviour
of these functions in the base package, which dispatch based on inspection of
all objects in
rbind in the base package for details).
Control is, however, passed to the base package functions if an ilab object is not first
in the list.
rbind method for class 'ilab' combines objects by applying
rbind to the
$data elements in turn and then concatenating the
$distrib.pars elements using the default
Combination of the
$data elements follows the rules of
in particular, names must match, but need not be in the same order and the return value
column classes will be coerced to match the first if necessary.
c.ilab simply passes the objects to
rbind.ilab, using the default value
recursive is ignored. An error is returned if any
'...' are not of class ‘ilab’.
cbind method for ‘ilab’ objects combines objects of class ‘ilab’
with atomic objects or data frames by applying
$data in the
(single) supplied ilab object and the items listed in
will extend scalars, vectors or columns in data frames to length
their length is an integer fraction of
cbind.ilab does not permit vectors or data frames longer than
and will return an error in such cases. cbind.ilab will also return an error if any objects in
'...' are not one of atomic, data frame or class ‘ilab’, if more than one
‘ilab’ object is supplied or if none are.
An object of class ‘ilab’. The title for the returned object is the title for the first ilab object in the list.
cbind method, the returned object will have additional columns in the
$data element, and the title will be unchanged.
Because of the unusual method dispatch behaviour of
base::rbind, which use the data frame method if any objects in
'...' are data frames, metRology masks the base package functions
in order to guarantee correct dispatch when data frames are included in
No adverse effects are currently known, but please report any to the package maintainer.
base::cbind directly will provide a work-around if necessary.
S. L. R. Ellison email@example.com
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.