Function to clean data of omitted values by mean replacement
The seminr
package provides a natural syntax for researchers to describe PLS
structural equation models.
mean_replacement(data)
data |
A dataset to be used for estimating a SEMinR model |
mean_replacement
provides the verb for replacing all omitted values (NA only) in the dataset with
the mean of the variable.
A dataset with all missing values replaced with column means
Hair, J. F., Hult, G. T. M., Ringle, C. M., and Sarstedt, M. (2017). A Primer on Partial Least Squares Structural Equation Modeling (PLS-SEM), 2nd Ed., Sage: Thousand Oaks.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.