.raiseColLowest {wrMisc}R Documentation

Raise all values close to lowest value

Description

This function aims to raise all values close to lowest value to end up as at value of 'raiseTo'. This is done independently for each col of mat. This function sets all data to common raiseTo (which is min among all cols)

Usage

.raiseColLowest(
  mat,
  raiseTo = NULL,
  minFa = 0.1,
  silent = FALSE,
  debug = FALSE,
  callFrom = NULL
)

Arguments

mat

(matrix of numeric values) main input

raiseTo

(numeric)

minFa

(numeric) minimum factor

silent

(logical) suppress messages

debug

(logical) display additional messages for debugging

callFrom

(character) allow easier tracking of message(s) produced

Value

This function returns a numeric vector with numer of non-numeric characters (ie not '.' or 0-9))

See Also

nchar

Examples

aa <- 11:15

[Package wrMisc version 1.15.1 Index]