Description Usage Arguments Details Value Author(s) See Also Examples

Takes in a vector and a value, and returns the vector with missing values imputed with that value

1 | ```
imputemiss(vector, value)
``` |

`vector` |
a vector with missing values |

`value` |
the value to be used for imputation |

`imputemiss`

imputes the missing (NA) values in the vector with a specified value.
The function simplifies the code for imputation.

`vector`

of the same class as input vector with imputed missing values

Akash Jain

1 2 3 4 5 | ```
# Scores vector
scores <- c(1, 2, 3, NA, 4, NA)
# Imputd scores vector
scoresImp <- imputemiss(vector = scores, value = 5)
``` |

StatMeasures documentation built on May 30, 2017, 4:47 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.