title: Convert RcppArmadillo vector to Rcpp vector
body: <p>I am trying to convert RcppArmadillo vector (e.g. <code>arma::colvec</code>) to a Rcpp vector (<code>NumericVector</code>). I know I can first convert <code>arma::colvec</code> to <code>SEXP</code> and then convert <code>SEXP</code> to <code>NumericVector</code> (e.g. <code>as&lt;NumericVector&gt;(wrap(temp)</code>), assuming temp is an <code>arma::colvec</code> object). But what is a good way to do that?</p>
  
  <p>I want to do that simply because I am unsure if it is okay to pass <code>arma::colvec</code> object as a parameter to an <code>Rcpp::Function</code> object.</p>