heuristicScale {glmSparseNet} | R Documentation

## Heuristic function to use in high dimensions

### Description

Heuristic function to use in high dimensions

### Usage

    heuristicScale(x, sub.exp10 = -1, exp.mult = -1, sub.exp = -1)

### Arguments

`x` | vector of values to scale
`sub.exp10` | value to subtract to base 10 exponential, for example: '10^0 - sub.exp10 = 1 - sub.exp10'
`exp.mult` | parameter to multiply exponential, i.e. to have a negative exponential or positive
`sub.exp` | value to subtract for exponentional, for example if x = 0, 'exp(0) - sub.exp = 1 - sub.exp'

### Value

a vector of scaled values

### Examples

    heuristicScale(rnorm(1:10))

[Package glmSparseNet version 1.2.0 Index]