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

Function qlnorm_1

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

Source from the content-addressed store, hash-verified

95}
96
97inline double qlnorm_1(double p, double meanlog, int lower_tail, int log_p){
98#ifdef IEEE_754
99 if (ISNAN(p) || ISNAN(meanlog))
100 return p + meanlog + 1.0;
101#endif
102 R_Q_P01_boundaries(p, 0, ML_POSINF);
103
104 return ::exp(::Rf_qnorm5(p, meanlog, 1.0, lower_tail, log_p));
105}
106
107} // stats
108} // Rcpp

Callers

nothing calls this directly

Calls 1

expFunction · 0.50

Tested by

no test coverage detected