misscode: Recode missing data for p3d

View source: R/misscode.R

misscodeR Documentation

Recode missing data for p3d

Description

Recodes missing data to a value less than the minimum value – or to a non-missing code to indicate missingness for a factor – to facilitate plotting in 3d

Usage

misscode(x, ...)

## Default S3 method:
misscode(x, ..., offset = 0.1)

## S3 method for class 'factor'
misscode(x, ...)

## S3 method for class 'data.frame'
misscode(x, ...)

Arguments

x

vector with possible missing values

offset

(default .1) how far below the minimum value as a proportion of the range


gmonette/p3d documentation built on Nov. 16, 2023, 11:31 p.m.