Description Usage Arguments Value Note
View source: R/from_cnqr-adddat.cnqr.R
Add more data to a 'cnqr'
object.
1 2 3 4 |
obj |
Object of type |
dat |
A list of data frames/matrices (of the raw data) to add
to |
QY |
List of quantile functions of length matching the number
of data matrices in |
The original 'cnqr'
object obj
, with the
$y
, $uind
, $yhat
, $score
, and possibly
$QY
(if non-stationary) entries extended to include the new data.
If dat
is a named list (and not a matrix), then the data added to the
'cnqr'
object will also have those names. Otherwise,
In the outputted 'cnqr'
object, the added data will have names
'dat'
with the data number beside it. So for example,
if obj
contains two data sets, and you want to add two more unnamed
data sets, they'll be named 'dat3'
and 'dat4'
.
This function is useful for cutting down on computation time. Particularly, it helps so that the independent predictors are only needed to be computed once.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.