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.
randomFillAndRepeatDataRow(currow, obsneeded, levelslist, newdata)
(unmatched) row of data for which to sample
how many rows should be 'sampled'
list holding (possible) levels for all columns in
complete dataset from which currow was one.
dfr that was used in the original call to
that holds the sampled data.
Really only intended as an internal function. Kept public for who knows what.
Nick Sabbe ([email protected])
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.