stop_constants: A wrapper for a call to mice that throws an error if there...

View source: R/mice-helpers.R

stop_constantsR Documentation

A wrapper for a call to mice that throws an error if there are constants in the data

Description

A wrapper for a call to mice that throws an error if there are constants in the data

Usage

stop_constants(f)

Arguments

f

a call to mice::mice()

Value

The result of calling the provided function or an Error if there is a constant in one of the columns.


mifa documentation built on June 8, 2025, 1:56 p.m.