search for: intnmbrrow

Displaying 1 result from an estimated 1 matches for "intnmbrrow".

Did you mean: intnmbrrows
2012 Aug 10
2
Function definition: where is the error in the "for" loop?
Dear all, The following function code fails with errors (see below): RegPlots <- function (data, ContrVar, RespVar){ intNmbrRows<-length(RespVar);intNmbrCols<-lenght(ContrVar) par(mfrow=c(intNmbrRows,intNmbrCols)) For(i in 1:intNmbrRows){ For (j in 1:intNmbrCols){ RegGraf(data,ContrVar[i],RespVar[j]) } } par(mfrow=c(1,1)) #(RegGraf is another function t...