handleMissingData: Exclude rows with missing values

Description Usage Arguments Value

View source: R/handleMissingValues.R

Description

All rows with missing values on the variables from the model formula are excluded. If all rows are excluded, an error occurs. If only some of the rows are excluded, the number and percentage of excluded rows is printed via a message. In addition, the corresponding positions from the yUncertainty vector are excluded.

Usage

1
handleMissingData(data, formula, yUncertainty)

Arguments

data

data.frame

formula

formula object

yUncertainty

numeric: vector

Value

A list with the elements "data" (data frame containing only the relevant variables and complete rows) and "yUncertainty".


BMSC documentation built on Aug. 2, 2019, 5:05 p.m.

Related to handleMissingData in BMSC...