summary.qad {qad} | R Documentation |
Summary and coefficients of a qad
output. The function
summary()
prints the dependence measures, sample size and resolution of
the checkerboard copula and returns a list with the mentioned values.
The function coef()
returns a named vector with the selected values.
## S3 method for class 'qad' summary(object, ...) ## S3 method for class 'qad' coef( object, select = c("q(x1,x2)", "q(x2,x1)", "mean.dependence", "asymmetry", "p.q(x1,x2)", "p.q(x2,x1)", "p.mean.dependence", "p.asymmetry"), ... )
object |
an object of class 'qad' |
... |
some methods for this generic require additional arguments. None are used in this method. |
select |
a vector of strings indicating which dependence measure should be returned. Options are c('q(x1,x2)', 'q(x2,x1)', 'mean.dependence', 'asymmetry') |
an object containing the calculated values of a qad
object.
n <- 1000 x <- runif(n, 0, 1) y <- runif(n, 0, 1) sample <- data.frame(x, y) ##(Not Run) # mod <- qad(sample, permutation = TRUE, nperm = 100, print = FALSE) # summary(mod) # coef(mod) # coef(mod, select = c('q(x1,x2)','p.q(x1,x2)'))