gaussianize {rainfarmr} | R Documentation |
Gaussianize field using rank ordering
Description
The amplitudes of the input field are rank ordered and substituted with the corresponding rank-ordered samples from a Normal distribution.
Usage
gaussianize(z)
Arguments
z |
matrix containing the input field to be Gaussianized. |
Value
The Gaussianized field with the same dimensions as the input field.
Author(s)
Jost von Hardenberg, j.vonhardenberg@isac.cnr.it
Examples
# Make some sample synthetic rainfall data
r <- exp(rnorm(64 * 64))
dim(r) <- c(64, 64)
# Gaussianize and check standard deviation
g <- gaussianize(r)
sd(g)
# [1] 1
[Package rainfarmr version 0.1 Index]