inst/Examples/BestT_examples.R

#=================================================================================
#------------------------------- Best T ------------------------------------------
#=================================================================================
ComputeBest_t.example <- function(){
    AlphaBetaMatrix <- matrix(c(0.7,1.5,0,0.5),ncol=2)
    nbts <- seq(20,50,10)
    
    ComputeBest_t(AlphaBetaMatrix=AlphaBetaMatrix,
                  nb_ts=nbts)
}

#=================================================================================
#------------------------------- Best tau ------------------------------------------
#=================================================================================
ComputeBest_tau.example <- function(){
    AlphaBetaMatrix <- matrix(c(0.7,1.5,0,0.5),ncol=2)
    nbts <- seq(20,50,10)
    
    ComputeBest_tau(AlphaBetaMatrix=AlphaBetaMatrix,
                    nb_ts=nbts,tScheme="uniformOpt",
                    Constrained=TRUE)
    

}

Try the StableEstim package in your browser

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

StableEstim documentation built on Aug. 7, 2022, 5:17 p.m.