Displaying 1 result from an estimated 1 matches for "vectx".
Did you mean:
vect
2012 Nov 07
5
Calling R object from R function
Hi,
Can you please help me with this please?
What I am trying to do is call a vector from R function and used in the new
function
So I create 4 functions with these arguments
M11 <- function(TrainData,TestData,mdat,nsam) {
ls <- list()
I have few statments one of them is
vectx <- c(,1,2,3,4,5,6,6)
vectz <- c(12,34,5,6,78,9,90)
and then................
ls(vectx=vtecx,vectz=vectz)
return(ls)
}
Then I great an new function has the following arguments
get.m <- function(dat,asim,ModelFun,M){
Sim <- list()
modInd <- ModelFun(TrainData=dat,TestData=dat,mdat=dat...