copula.trans: Makes a copula transformation

Description Usage Arguments Value Author(s) Examples

Description

Transforms a data matrix so that the marginals follow approximately the standard Gaussian distribution. Alternatively, the marginals can be transformed to follow approximately the uniform distribution on [0,1].

Usage

1
copula.trans(dendat, marginal=rep("gauss",dim(dendat)[2]), remna=TRUE)

Arguments

dendat

n*d data matrix; the data matrix of n observations and d variables

marginal

d-vector of character strings; the character strings can be "gauss" or "uniform"

remna

TRUE or FALSE; if remna=TRUE, then the rows containing a NA are removed

Value

n*d data matrix

Author(s)

Jussi Klemela

Examples

1
2
3
4
5
set.seed(2)
n<-100
d<-2 
dendat<-matrix(runif(n*d),n,d)
x<-copula.trans(dendat)


Search within the regpro package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.