Learn R Programming

cascsim (version 0.4)

setCopulaType<-: Set copula type.

Description

Set copula type.

Usage

setCopulaType(this, ...) <- value

# S4 method for CopulaObj,character setCopulaType(this) <- value

Arguments

this

Copula Object

...

Additional function arguments

value

The copula type

Examples

Run this code
# NOT RUN {
library(cascsim)
dist1<-new("Pareto",p1=20,p2=3)
dist2<-new("Normal",p1=5,p2=3,min=0,max=20,truncated=TRUE)
cop <- new("CopulaObj", param=c(0.5),marginal=list(dist1=dist1,dist2=dist2),dimension=2)
setCopulaType(cop) <- "joe"
# }

Run the code above in your browser using DataLab