Rcpp Version 1.0.9
Rcpp::stats Namespace Reference

Classes

class  D0
 
class  D1
 
class  D2
 
class  D3
 
class  P0
 
class  P1
 
class  P2
 
class  P3
 
class  Q0
 
class  Q1
 
class  Q2
 
class  Q3
 
class  BetaGenerator
 
class  BinomGenerator
 
class  CauchyGenerator
 
class  CauchyGenerator_1
 
class  CauchyGenerator_0
 
class  ChisqGenerator
 
class  ExpGenerator
 
class  ExpGenerator__rate1
 
class  FGenerator_Finite_Finite
 
class  FGenerator_NotFinite_Finite
 
class  FGenerator_Finite_NotFinite
 
class  GammaGenerator
 
class  GeomGenerator
 
class  HyperGenerator
 
class  LNormGenerator
 
class  LNormGenerator_1
 
class  LNormGenerator_0
 
class  LogisGenerator
 
class  LogisGenerator_1
 
class  LogisGenerator_0
 
class  NBinomGenerator
 
class  NBinomGenerator_Mu
 
class  NChisqGenerator
 
class  NormGenerator
 
class  NormGenerator__sd1
 
class  NormGenerator__mean0
 
class  NormGenerator__mean0__sd1
 
class  PoissonGenerator
 
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(), give_log, and R_D__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.

References give_log.

◆ dcauchy_1()

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

Definition at line 32 of file cauchy.h.

References give_log.

◆ 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.

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.

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.

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(), give_log, and Rcpp::algorithm::log().

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(), give_log, and Rcpp::algorithm::log().

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(), give_log, and R_D__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(), give_log, ML_NAN, and R_D__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 give_log, and R_D__0.

◆ dunif_1()

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

Definition at line 30 of file unif.h.

References give_log.

◆ 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(), give_log, Rcpp::algorithm::log(), ML_POSINF, Rcpp::pow(), and R_D__0.

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 Rcpp::algorithm::exp(), R::expm1(), Rcpp::algorithm::log(), R::log1p(), R_D_exp, and R_DT_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.

◆ 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.

◆ 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.

◆ 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.

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.

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.

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.

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().

◆ 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().

◆ 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.

◆ 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.

◆ 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.

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.

◆ qcauchy_0()

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

Definition at line 44 of file cauchy.h.

◆ 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.

◆ 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.

◆ 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.

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 Rcpp::algorithm::exp(), ML_POSINF, and R_Q_P01_boundaries.

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.

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

Definition at line 106 of file logis.h.

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

Here is the call graph for this function:

◆ qnorm_0()

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

Definition at line 103 of file norm.h.

◆ 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.

◆ 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 R_DT_qIv, and R_Q_P01_check.

◆ 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.

◆ 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 ML_POSINF, Rcpp::pow(), R_DT_Clog, and R_Q_P01_boundaries.

Here is the call graph for this function: