Hello, I am trying to use RExcel and I would like to know if it is possible to use in excel the following function I made for R
Pron = function(path="C:\\Quantil Aplicativos\\Genercauca\\V5\\"){ library(timeSeries) library(maSigPro) ### CARGAR FUNCIONES source(paste(path,"\\fUtilidades\\BackwardSelectionNC.r",sep<file://futilidades//BackwardSelectionNC.r%22,sep> ="")) source(paste(path,"\\fUtilidades\\CriteriosDeComparacion.r",sep<file://futilidades//CriteriosDeComparacion.r%22,sep> ="")) dataTSORG<-read.csv('entrada.csv', header = TRUE, sep = ",", quote="\"", dec=".",fill = TRUE, comment.char="") dataTSORG = ts(dataTSORG, start=c(1950,1), frequency=12) dataTSORG = as.timeSeries(dataTSORG) X = prcomp(dataTSORG[,2:40])$x return(X) } Does somebody know if its possible? and if so how can I do it? Thank you Felipe Parra [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.