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 that creates a plot and that runs flawlessly)
Output (translated to english):