<div dir="ltr"><div><div>Hi Rcpp Friends<br><br></div>I want to use dgev(x,shape=1,scale=1,location=0,log=FALSE) function of an R package "FAdist" in the framework of Rcpp. How can I call that?<br><br></div>For example for the Poisson distribution which is basic function of R I have written the following code.<br><div><br><br>#include <Rcpp.h><br>using namespace Rcpp;<br><br>//[[Rcpp::export]]<br><br>NumericVector poiss(NumerixVector x, double lam, int give_log)<br>{<br>        return R::dpois(x, lam, give_log);<br>}<br><br><br></div><div>Thank you<br></div></div>