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

Function plnorm_1

inst/include/Rcpp/stats/lnorm.h:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76inline double plnorm_1(double x, double meanlog, int lower_tail, int log_p) {
77#ifdef IEEE_754
78 if (ISNAN(x) || ISNAN(meanlog))
79 return x + meanlog + 1.0;
80#endif
81
82 if (x > 0)
83 return Rcpp::stats::pnorm_1(::log(x), meanlog, lower_tail, log_p);
84 return R_DT_0;
85}
86
87inline double qlnorm_0(double p, int lower_tail, int log_p){
88#ifdef IEEE_754

Callers

nothing calls this directly

Calls 2

pnorm_1Function · 0.85
logFunction · 0.50

Tested by

no test coverage detected