View source: R/flash_update_data.R
flash_update_data | R Documentation |
Replaces the data in a flash object with a new set of observations. Estimates of residual variances and the ELBO are also updated.
flash_update_data(flash, newdata, Y2_diff = NULL)
flash |
A |
newdata |
The new observations. Can be a matrix, a sparse matrix of
class |
Y2_diff |
Optionally, users can supply the (summed) changes in the
squared values of the data |
The flash
object from argument flash
, with
the data modified as specified by newdata
. Residual variances and
ELBO are also updated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.