jointCDF: Joint MoTBFs CDFs

View source: R/joint.R

jointCDFR Documentation

Joint MoTBFs CDFs

Description

Function to compute multivariate CDFs.

Usage

jointCDF(df, grid)

Arguments

df

The dataset as an object of class data.frame.

grid

a data.frame with the selected data points where the objective function will be evaluated when optimizing the parameters.

Value

jointCDF() returns a vector.

Examples


## Create dataset with 2 variables
n = 2
size = 50
df <- as.data.frame(matrix(round(rnorm(size*n),2), ncol = n))

## Create grid dataset
npointsgrid <- 10
ranges <- sapply(df, range)
eg <- list()
for(i in 1: ncol(df)){
  eg[[i]] <- seq(ranges[1,i], ranges[2,i], length.out = npointsgrid)
}

x <- expand.grid(eg)

## Joint cumulative values
jointCDF(df = df, grid = x)


MoTBFs documentation built on April 18, 2022, 5:06 p.m.

Related to jointCDF in MoTBFs...