R/estTWL.R

Defines functions estTWL

Documented in estTWL

#'
#'
#'
#'
#' @rdname weightedLikelihood
#'
#' @export estTWL
#'

estTWL <- function(fatDist,fatW,distribution,plotBounds=NULL,...){

    ## estiamte the truncated weighted likelihood for each distribution
    outList <- lapply(distribution,weightedLikelihood,fatDist=fatDist,fatW=fatW,plotBounds=plotBounds,...)
    ## put into a data.frame
    out <- do.call(rbind,outList)
    ## reorder for convenience
    out <- out[with(out,order(aicc)),]

    return(out)
} ## end estTWL function

Try the windAC package in your browser

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

windAC documentation built on March 31, 2023, 9:30 p.m.