na_non_positive_log: Set non-positive values to na and then log.

View source: R/Standardization.R

na_non_positive_logR Documentation

Set non-positive values to na and then log.

Description

Set non-positive values to na and then log.

Usage

na_non_positive_log(x)

Arguments

x

A list of numbers

Details

This is a function to use when the data should never be 0s or negatives. It saves the step of setting them to na.

Value

The list of number logs, with 0 and negative set to NA

Examples

x<-c(0,2,3,-4); transform_contract(x)


CSISdefense/csis360 documentation built on April 29, 2024, 5:30 p.m.