var_auc_unif_lbm: Compute the Conditional variance of the AUC of the LBM...

View source: R/variance.R

var_auc_unif_lbmR Documentation

Compute the Conditional variance of the AUC of the LBM Robustness

Description

Compute the Conditional variance of the AUC of the LBM Robustness

Usage

var_auc_unif_lbm(con, pi, rho, nr, nc)

Arguments

con

A matrix, the connectivity parameter

pi

A vector of length nrow(con), the proportion of row blocks

rho

A vector of length ncol(con), the proportion of column blocks

nr

An integer, the number of row (primary) species

nc

An integer, the number of column (secondary) species

Value

A numeric, the variance

Examples

con <- matrix(c(.5,.3,.3,.1), 2, 2)
pi  <- c(.25,.75)
rho <- c(1/3, 2/3)
nr <- 50
nc <- 30
var_auc_unif_lbm(con, pi, rho, nr, nc)

robber documentation built on May 29, 2024, 5:48 a.m.