R/ind.crsp.R

ind.crsp <-
function(crsp, loc1, loc2)
{
    nLoc <- length(crsp)
    ind1 <- rep(0, length(loc1))
    ind2 <- rep(0, length(loc2))
    res <- .C("indCrsp",
              as.integer(nLoc), as.integer(crsp), as.integer(loc1), as.integer(loc2),
              as.integer(ind1), as.integer(ind2)
              
             )#ajout ,PACKAGE="SPODT"

    return(list(i1=res[[5]], i2=res[[6]]))
}

Try the SPODT package in your browser

Any scripts or data that you put into this service are public.

SPODT documentation built on May 2, 2019, 9:43 a.m.