na_extend: Adjust for missing values

Description Usage Arguments Details Value

Description

Use missing value information to extend a vector

Usage

1
na_extend(omit, x)

Arguments

omit

An object created by an na.action function

x

A vector or matrix

Details

The data, weights and fitted values stored within an nlsModel object have had cases with any missing values filtered out. This function reintroduces missing values at the right locations so that the data, weights and fitted values match the original data source.

Value

A vector or matrix


SWotherspoon/nlsaux documentation built on May 31, 2019, 8:41 a.m.