Skip to content
Prev 25172 / 63424 Next

private variables in package.

Thank you for the answer.

Here is everything.

ac9wl<-c(412,440,488,510,532,555,650,676,715)
ac9nw<-length(ac9wl)

AB2C <-function(a,b,model.type="S") {  
  nza<-dim(a)[1]
  nwa<-dim(a)[2]
  nzb<-dim(b)[1]
  nwb<-dim(b)[2]

  if(nza!=nzb || nwa!=ac9nw || nwb!=ac9nw) {
    warning('AB2C: Dimensions of the input matrices are invalid')
    return(NULL);
  }

 [ further calculations, they  do not use ac9nw ]  
}
ripley-3 wrote: