replace_na.mcmc_data: Replace Missing Values mcmc data

View source: R/replace-na.R

replace_na.mcmc_dataR Documentation

Replace Missing Values mcmc data

Description

Replace Missing Values mcmc data

Usage

## S3 method for class 'mcmc_data'
replace_na(data, replace, ...)

Arguments

data

A data frame or vector.

replace

If data is a data frame, replace takes a named list of values, with one value for each column that has missing values to be replaced. Each value in replace will be cast to the type of the column in data that it being used as a replacement in.

If data is a vector, replace takes a single value. This single value replaces all of the missing values in the vector. replace will be cast to the type of data.

...

Additional arguments for methods. Currently unused.


poissonconsulting/mcmcdata documentation built on June 5, 2023, 8:38 a.m.