Displaying 2 results from an estimated 2 matches for "lishaut".
Did you mean:
libshout
2012 Aug 21
7
Regular Expressions in grep
...t<-grep(pattern="[1-9]+[0-9]*\\.", value=TRUE, x=a, fixed=FALSE)
End<-grep(pattern="\\.[0-9]*[1-9]+", value=TRUE, x=a, fixed=FALSE)
However, both strings give "-01020.909200", exactly a.
Could you please point me to what is wrong?
Thanks and best regards
H. van Lishaut
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])
}
}