On 5 October 2017 at 12:43, rihab boubakri wrote:
| hello please can any one help me to change that function to rcpp or
cxxfunction please
|
| for(i in 1:length(datafi$p)){
| if(datafi$A[i] != "STOP"){
| datafi$tran[i]=matt[[datafi$p[i+1]]][datafi$A[i],datafi$A[i+1]]
| }
| }
What have you tried? What failed? What error did you get? What result were
you expecting?
Most of us have real work to do so asking us for free code writing service is
a wee bit much.
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | [email protected]
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel