Description Usage Arguments Value Note Author(s) See Also Examples
Is only called from within predict.GLoMo
to handle the unlikely
case of a row that has no matching row(s) in the GLoMo uids.
Note: this really only is unlikely in the setting that I plan to use it in, i.e.: impute in the original data from a GLoMo fit to it.
1 | randomFillAndRepeatDataRow(currow, obsneeded, levelslist, newdata)
|
currow |
(unmatched) row of data for which to sample |
obsneeded |
how many rows should be 'sampled' |
levelslist |
list holding (possible) levels for all columns in |
newdata |
complete dataset from which currow was one. |
a data.frame
or numdfr
(dependent
on the dfr
that was used in the original call to GLoMo
that holds the sampled data.
Really only intended as an internal function. Kept public for who knows what.
Nick Sabbe (nick.sabbe@ugent.be)
GLoMo-package
, NumDfr
, predict.GLoMo
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.