kl_estimate_na | R Documentation |
Estimates missing variable values from a predictor using a linear model.
kl_estimate_na( x = kootlake::bulltrout, variable = "KasloRedds", predictor = "KasloCounter" )
x |
A data frame with columns of the variable and predictor. |
variable |
A string of the name of the variable column. |
predictor |
A string of the name of the predictor column. |
The original data frame with missing variable values replaced by the estimated value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.