ERM: Generate Euclidean random matrix

Description Usage Arguments Value Examples

View source: R/ERM.R

Description

Generate Euclidean random matrix

Usage

1
2
3
ERM(N, dim = 3, f = function(x) {
    exp(-x)
})

Arguments

N

the number of point

dim

the dimension of the point

f

the function from distance to correlation

Value

a Euclidean random matrix corr

Examples

1
2
3
4
## Not run: 
RM(100, 3, f = exp)

## End(Not run)

wzz1999/StatComp21051 documentation built on Dec. 24, 2021, 1:29 a.m.