Fixing Compilation Errors and Creating an R Function from Rcpp Code
I try to implement RCPP code for the R function below. I m very new to C++. Below I put R function and the RCPP function. There errors occur in the RCPP in line 43,44,50,51,55.
I try to implement RCPP code for the R function below. I m very new to C++. Below I put R function and the RCPP function. There errors occur in the RCPP in line 43,44,50,51,55.