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

Function ifelse

inst/include/Rcpp/sugar/functions/ifelse.h:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339 bool RHS_NA , typename RHS_T
340 >
341inline sugar::IfElse< RTYPE,COND_NA,COND_T,LHS_NA,LHS_T,RHS_NA,RHS_T >
342ifelse(
343 const Rcpp::VectorBase<LGLSXP,COND_NA,COND_T>& cond,
344 const Rcpp::VectorBase<RTYPE ,LHS_NA ,LHS_T>& lhs,
345 const Rcpp::VectorBase<RTYPE ,RHS_NA ,RHS_T>& rhs
346 ){
347 return sugar::IfElse<RTYPE,COND_NA,COND_T,LHS_NA,LHS_T,RHS_NA,RHS_T>( cond, lhs, rhs ) ;
348}
349
350
351template <

Callers 2

runit_diff_ifelseFunction · 0.85
runit_ifelseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected