powered by
Returns the copula of several random variables.
copula(x, na.last = NA, ...)# S3 method for default copula(x, na.last = NA, ...)# S3 method for data.frame copula(x, na.last = NA, ...)# S3 method for matrix copula(x, na.last = NA, ...)
# S3 method for default copula(x, na.last = NA, ...)
# S3 method for data.frame copula(x, na.last = NA, ...)
# S3 method for matrix copula(x, na.last = NA, ...)
A matrix with the same dimensions as x, each column of which contains the quantiles of each column of x. This object is of class copula.
x
copula
A matrix or data.frame containing numeric variables.
How to treat missing values. See rank for details.
rank
further arguments
copula(default): default method
copula(default)
copula(data.frame): data frame method
copula(data.frame)
copula(matrix): matrix method
copula(matrix)
Harry Southworth
The result is obtained by applying edf to each column of x in turn.
edf
Print and plot methods are available for the copula class.
edf plot.copula ggplot.copula
plot.copula
ggplot.copula
D <- liver[liver$dose == "D",] Dco <- copula(D) plot(Dco)
Run the code above in your browser using DataLab