MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / runit_choose

Function runit_choose

inst/tinytest/cpp/sugar.cpp:554–560  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

552
553// [[Rcpp::export]]
554List runit_choose( NumericVector nn, NumericVector kk ){
555 return List::create(
556 _["VV"] = choose(nn,kk),
557 _["PV"] = choose(10.0, kk ),
558 _["VP"] = choose(nn, 5.0 )
559 ) ;
560}
561
562// [[Rcpp::export]]
563List runit_lchoose( NumericVector nn, NumericVector kk){

Callers

nothing calls this directly

Calls 1

chooseFunction · 0.85

Tested by

no test coverage detected