Rcpp Version 0.12.14
Rcpp::stats Namespace Reference

Classes

class  BetaGenerator
 
class  BinomGenerator
 
class  CauchyGenerator
 
class  CauchyGenerator_0
 
class  CauchyGenerator_1
 
class  ChisqGenerator
 
class  D0
 
class  D1
 
class  D2
 
class  D3
 
class  ExpGenerator
 
class  ExpGenerator__rate1
 
class  FGenerator_Finite_Finite
 
class  FGenerator_Finite_NotFinite
 
class  FGenerator_NotFinite_Finite
 
class  GammaGenerator
 
class  GeomGenerator
 
class  HyperGenerator
 
class  LNormGenerator
 
class  LNormGenerator_0
 
class  LNormGenerator_1
 
class  LogisGenerator
 
class  LogisGenerator_0
 
class  LogisGenerator_1
 
class  NBinomGenerator
 
class  NBinomGenerator_Mu
 
class  NChisqGenerator
 
class  NormGenerator
 
class  NormGenerator__mean0
 
class  NormGenerator__mean0__sd1
 
class  NormGenerator__sd1
 
class  P0
 
class  P1
 
class  P2
 
class  P3
 
class  PoissonGenerator
 
class  Q0
 
class  Q1
 
class  Q2
 
class  Q3
 
class  SignRankGenerator
 
class  TGenerator
 
class  UnifGenerator
 
class  UnifGenerator__0__1
 
class  WeibullGenerator
 
class  WeibullGenerator__scale1
 
class  WilcoxGenerator
 

Functions

double dcauchy_0 (double x, int give_log)
 
double dcauchy_1 (double x, double location, int give_log)
 
double pcauchy_0 (double x, int lower_tail, int log_p)
 
double pcauchy_1 (double x, double location, int lower_tail, int log_p)
 
double qcauchy_0 (double p, int lower_tail, int log_p)
 
double qcauchy_1 (double p, double location, int lower_tail, int log_p)
 
double d_exp_0 (double x, int give_log)
 
double q_exp_0 (double p, int lower_tail, int log_p)
 
double p_exp_0 (double x, int lower_tail, int log_p)
 
double dgamma_1 (double x, double shape, int log_p)
 
double pgamma_1 (double x, double alph, int lower_tail, int log_p)
 
double qgamma_1 (double p, double alpha, int lower_tail, int log_p)
 
double dlnorm_0 (double x, int log_p)
 
double dlnorm_1 (double x, double meanlog, int log_p)
 
double plnorm_0 (double x, int lower_tail, int log_p)
 
double plnorm_1 (double x, double meanlog, int lower_tail, int log_p)
 
double qlnorm_0 (double p, int lower_tail, int log_p)
 
double qlnorm_1 (double p, double meanlog, int lower_tail, int log_p)
 
double dlogis_0 (double x, int give_log)
 
double dlogis_1 (double x, double location, int give_log)
 
double plogis_0 (double x, int lower_tail, int log_p)
 
double plogis_1 (double x, double location, int lower_tail, int log_p)
 
double qlogis_0 (double p, int lower_tail, int log_p)
 
double qlogis_1 (double p, double location, int lower_tail, int log_p)
 
double dnorm_1 (double x, double mu, int give_log)
 
double dnorm_0 (double x, int give_log)
 
double pnorm_1 (double x, double mu, int lower_tail, int log_p)
 
double pnorm_0 (double x, int lower_tail, int log_p)
 
double qnorm_1 (double p, double mu, int lower_tail, int log_p)
 
double qnorm_0 (double p, int lower_tail, int log_p)
 
double dunif_1 (double x, double a, int give_log)
 
double dunif_0 (double x, int give_log)
 
double punif_1 (double x, double a, int lower_tail, int log_p)
 
double punif_0 (double x, int lower_tail, int log_p)
 
double qunif_1 (double p, double a, int lower_tail, int log_p)
 
double qunif_0 (double p, int lower_tail, int log_p)
 
double dweibull_1 (double x, double shape, int give_log)
 
double pweibull_1 (double x, double shape, int lower_tail, int log_p)
 
double qweibull_1 (double p, double shape, int lower_tail, int log_p)
 

Function Documentation

◆ d_exp_0()

double Rcpp::stats::d_exp_0 ( double  x,
int  give_log 
)
inline

Definition at line 30 of file exp.h.

References Rcpp::algorithm::exp(), and R_D__0.

Referenced by p_exp_0().

Here is the call graph for this function:

◆ dcauchy_0()

double Rcpp::stats::dcauchy_0 ( double  x,
int  give_log 
)
inline

Definition at line 28 of file cauchy.h.

Referenced by qcauchy_1().

◆ dcauchy_1()

double Rcpp::stats::dcauchy_1 ( double  x,
double  location,
int  give_log 
)
inline

Definition at line 32 of file cauchy.h.

Referenced by qcauchy_1().

◆ dgamma_1()

double Rcpp::stats::dgamma_1 ( double  x,
double  shape,
int  log_p 
)
inline

Definition at line 30 of file gamma.h.

References Rcpp::algorithm::log(), ML_POSINF, and R_D__0.

Referenced by qgamma_1().

Here is the call graph for this function:

◆ dlnorm_0()

double Rcpp::stats::dlnorm_0 ( double  x,
int  log_p 
)
inline

Definition at line 30 of file lnorm.h.

References Rcpp::algorithm::exp(), Rcpp::algorithm::log(), and R_D__0.

Referenced by qlnorm_1().

Here is the call graph for this function:

◆ dlnorm_1()

double Rcpp::stats::dlnorm_1 ( double  x,
double  meanlog,
int  log_p 
)
inline

Definition at line 47 of file lnorm.h.

References Rcpp::algorithm::exp(), Rcpp::algorithm::log(), and R_D__0.

Referenced by qlnorm_1().

Here is the call graph for this function:

◆ dlogis_0()

double Rcpp::stats::dlogis_0 ( double  x,
int  give_log 
)
inline

Definition at line 28 of file logis.h.

References Rcpp::algorithm::exp(), and Rcpp::algorithm::log().

Referenced by qlogis_1().

Here is the call graph for this function:

◆ dlogis_1()

double Rcpp::stats::dlogis_1 ( double  x,
double  location,
int  give_log 
)
inline

Definition at line 40 of file logis.h.

References Rcpp::algorithm::exp(), and Rcpp::algorithm::log().

Referenced by qlogis_1().

Here is the call graph for this function:

◆ dnorm_0()

double Rcpp::stats::dnorm_0 ( double  x,
int  give_log 
)
inline

Definition at line 43 of file norm.h.

References Rcpp::algorithm::exp(), and R_D__0.

Referenced by qnorm_0().

Here is the call graph for this function:

◆ dnorm_1()

double Rcpp::stats::dnorm_1 ( double  x,
double  mu,
int  give_log 
)
inline

Definition at line 28 of file norm.h.

References Rcpp::algorithm::exp(), ML_NAN, and R_D__0.

Referenced by qnorm_0().

Here is the call graph for this function:

◆ dunif_0()

double Rcpp::stats::dunif_0 ( double  x,
int  give_log 
)
inline

Definition at line 34 of file unif.h.

References R_D__0.

Referenced by qunif_0().

◆ dunif_1()

double Rcpp::stats::dunif_1 ( double  x,
double  a,
int  give_log 
)
inline

Definition at line 30 of file unif.h.

Referenced by qunif_0().

◆ dweibull_1()

double Rcpp::stats::dweibull_1 ( double  x,
double  shape,
int  give_log 
)
inline

Definition at line 30 of file weibull.h.

References Rcpp::algorithm::exp(), Rcpp::algorithm::log(), ML_POSINF, Rcpp::pow(), and R_D__0.

Referenced by qweibull_1().

Here is the call graph for this function:

◆ p_exp_0()

double Rcpp::stats::p_exp_0 ( double  x,
int  lower_tail,
int  log_p 
)
inline

Definition at line 54 of file exp.h.

References d_exp_0(), Rcpp::algorithm::exp(), R::expm1(), Rcpp::algorithm::log(), R::log1p(), q_exp_0(), R_D_exp, R_DT_0, and RCPP_DPQ_0.

Here is the call graph for this function:

◆ pcauchy_0()

double Rcpp::stats::pcauchy_0 ( double  x,
int  lower_tail,
int  log_p 
)
inline

Definition at line 36 of file cauchy.h.

Referenced by qcauchy_1().

◆ pcauchy_1()

double Rcpp::stats::pcauchy_1 ( double  x,
double  location,
int  lower_tail,
int  log_p 
)
inline

Definition at line 40 of file cauchy.h.

Referenced by qcauchy_1().

◆ pgamma_1()

double Rcpp::stats::pgamma_1 ( double  x,
double  alph,
int  lower_tail,
int  log_p 
)
inline

Definition at line 56 of file gamma.h.

Referenced by qgamma_1().

◆ plnorm_0()

double Rcpp::stats::plnorm_0 ( double  x,
int  lower_tail,
int  log_p 
)
inline

Definition at line 65 of file lnorm.h.

References Rcpp::algorithm::log(), pnorm_0(), and R_DT_0.

Referenced by qlnorm_1().

Here is the call graph for this function:

◆ plnorm_1()

double Rcpp::stats::plnorm_1 ( double  x,
double  meanlog,
int  lower_tail,
int  log_p 
)
inline

Definition at line 76 of file lnorm.h.

References Rcpp::algorithm::log(), pnorm_1(), and R_DT_0.

Referenced by qlnorm_1().

Here is the call graph for this function:

◆ plogis_0()

double Rcpp::stats::plogis_0 ( double  x,
int  lower_tail,
int  log_p 
)
inline

Definition at line 54 of file logis.h.

References Rcpp::algorithm::exp(), R::log1p(), and R_P_bounds_Inf_01.

Referenced by qlogis_1().

Here is the call graph for this function:

◆ plogis_1()

double Rcpp::stats::plogis_1 ( double  x,
double  location,
int  lower_tail,
int  log_p 
)
inline

Definition at line 69 of file logis.h.

References Rcpp::algorithm::exp(), R::log1p(), and R_P_bounds_Inf_01.

Referenced by qlogis_1().

Here is the call graph for this function:

◆ pnorm_0()

double Rcpp::stats::pnorm_0 ( double  x,
int  lower_tail,
int  log_p 
)
inline

Definition at line 78 of file norm.h.

References R_DT_0, and R_DT_1.

Referenced by plnorm_0(), and qnorm_0().

◆ pnorm_1()

double Rcpp::stats::pnorm_1 ( double  x,
double  mu,
int  lower_tail,
int  log_p 
)
inline

Definition at line 56 of file norm.h.

References ML_NAN, R_DT_0, and R_DT_1.

Referenced by plnorm_1(), and qnorm_0().

◆ punif_0()

double Rcpp::stats::punif_0 ( double  x,
int  lower_tail,
int  log_p 
)
inline

Definition at line 50 of file unif.h.

References R_D_val, R_DT_0, and R_DT_1.

Referenced by qunif_0().

◆ punif_1()

double Rcpp::stats::punif_1 ( double  x,
double  a,
int  lower_tail,
int  log_p 
)
inline

Definition at line 46 of file unif.h.

Referenced by qunif_0().

◆ pweibull_1()

double Rcpp::stats::pweibull_1 ( double  x,
double  shape,
int  lower_tail,
int  log_p 
)
inline

Definition at line 49 of file weibull.h.

References Rcpp::algorithm::exp(), R::expm1(), Rcpp::algorithm::log(), R::log1p(), Rcpp::pow(), R_D_exp, and R_DT_0.

Referenced by qweibull_1().

Here is the call graph for this function:

◆ q_exp_0()

double Rcpp::stats::q_exp_0 ( double  p,
int  lower_tail,
int  log_p 
)
inline

Definition at line 42 of file exp.h.

References R_DT_0, and R_DT_Clog.

Referenced by p_exp_0().

◆ qcauchy_0()

double Rcpp::stats::qcauchy_0 ( double  p,
int  lower_tail,
int  log_p 
)
inline

Definition at line 44 of file cauchy.h.

Referenced by qcauchy_1().

◆ qcauchy_1()

double Rcpp::stats::qcauchy_1 ( double  p,
double  location,
int  lower_tail,
int  log_p 
)
inline

Definition at line 47 of file cauchy.h.

References dcauchy_0(), dcauchy_1(), pcauchy_0(), pcauchy_1(), qcauchy_0(), RCPP_DPQ_0, RCPP_DPQ_1, and RCPP_DPQ_2.

Here is the call graph for this function:

◆ qgamma_1()

double Rcpp::stats::qgamma_1 ( double  p,
double  alpha,
int  lower_tail,
int  log_p 
)
inline

Definition at line 59 of file gamma.h.

References dgamma_1(), pgamma_1(), RCPP_DPQ_1, and RCPP_DPQ_2.

Here is the call graph for this function:

◆ qlnorm_0()

double Rcpp::stats::qlnorm_0 ( double  p,
int  lower_tail,
int  log_p 
)
inline

Definition at line 87 of file lnorm.h.

References Rcpp::algorithm::exp(), ML_POSINF, and R_Q_P01_boundaries.

Referenced by qlnorm_1().

Here is the call graph for this function:

◆ qlnorm_1()

double Rcpp::stats::qlnorm_1 ( double  p,
double  meanlog,
int  lower_tail,
int  log_p 
)
inline

Definition at line 97 of file lnorm.h.

References dlnorm_0(), dlnorm_1(), Rcpp::algorithm::exp(), ML_POSINF, plnorm_0(), plnorm_1(), qlnorm_0(), R_Q_P01_boundaries, RCPP_DPQ_0, RCPP_DPQ_1, and RCPP_DPQ_2.

Here is the call graph for this function:

◆ qlogis_0()

double Rcpp::stats::qlogis_0 ( double  p,
int  lower_tail,
int  log_p 
)
inline

Definition at line 84 of file logis.h.

References Rcpp::algorithm::exp(), Rcpp::algorithm::log(), R::log1p(), ML_NEGINF, ML_POSINF, and R_Q_P01_boundaries.

Referenced by qlogis_1().

Here is the call graph for this function:

◆ qlogis_1()

double Rcpp::stats::qlogis_1 ( double  p,
double  location,
int  lower_tail,
int  log_p 
)
inline

◆ qnorm_0()

double Rcpp::stats::qnorm_0 ( double  p,
int  lower_tail,
int  log_p 
)
inline

Definition at line 103 of file norm.h.

References dnorm_0(), dnorm_1(), pnorm_0(), pnorm_1(), qnorm_1(), RCPP_DPQ_0, RCPP_DPQ_1, and RCPP_DPQ_2.

Here is the call graph for this function:

◆ qnorm_1()

double Rcpp::stats::qnorm_1 ( double  p,
double  mu,
int  lower_tail,
int  log_p 
)
inline

Definition at line 98 of file norm.h.

Referenced by qnorm_0().

◆ qunif_0()

double Rcpp::stats::qunif_0 ( double  p,
int  lower_tail,
int  log_p 
)
inline

Definition at line 79 of file unif.h.

References dunif_0(), dunif_1(), punif_0(), punif_1(), qunif_1(), R_DT_qIv, R_Q_P01_check, RCPP_DPQ_0, RCPP_DPQ_1, and RCPP_DPQ_2.

Here is the call graph for this function:

◆ qunif_1()

double Rcpp::stats::qunif_1 ( double  p,
double  a,
int  lower_tail,
int  log_p 
)
inline

Definition at line 65 of file unif.h.

References R_DT_qIv, and R_Q_P01_check.

Referenced by qunif_0().

◆ qweibull_1()

double Rcpp::stats::qweibull_1 ( double  p,
double  shape,
int  lower_tail,
int  log_p 
)
inline

Definition at line 67 of file weibull.h.

References dweibull_1(), ML_POSINF, Rcpp::pow(), pweibull_1(), R_DT_Clog, R_Q_P01_boundaries, RCPP_DPQ_1, and RCPP_DPQ_2.

Here is the call graph for this function: