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

Function runit_dnorm

inst/tinytest/cpp/stats.cpp:71–80  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

69
70// [[Rcpp::export]]
71List runit_dnorm( NumericVector xx ){
72 return List::create(
73 _["false_noMean_noSd"] = dnorm( xx ),
74 _["false_noSd"] = dnorm( xx, 0.0 ),
75 _["false"] = dnorm( xx, 0.0, 1.0 ),
76 _["true"] = dnorm( xx, 0.0, 1.0, true ),
77 _["true_noSd"] = dnorm( xx, 0.0, true ),
78 _["true_noMean_noSd"] = dnorm( xx, true )
79 );
80}
81
82// [[Rcpp::export]]
83List runit_dt( NumericVector xx){

Callers

nothing calls this directly

Calls 1

dnormFunction · 0.85

Tested by

no test coverage detected