search for: reggraf

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

Did you mean: regcrf
2012 Aug 10
2
Function definition: where is the error in the "for" loop?
...g 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): > RegPlots <- function (data, ContrVar, RespVar){ + intNmbrRows<-length(RespVar);intNmbrCols<-le...