search for: inicioviagem

Displaying 2 results from an estimated 2 matches for "inicioviagem".

2004 Oct 29
1
Giving column names to a matrix
Heloo, I have the following problem: orig.data <- NULL Inside a loop I have instructions like: orig.data <- rbind(orig.data, ...) After that I do: colnames(orig.data)<-c('Data','InicioViagem', ...) Everything works fine. For example, the first line of the matrix is: > orig.data[1,] Data InicioViagem ... 1 40466 ... The problem is: I can't refer the columns by the column names. For example: > orig.data[1,InicioViagem] Error: Object &quot...
2005 Oct 27
0
Fw: Example where PPR crashes
...les with the same behavior (for example: v1 <- c('A', 'A', 'B','C','B','A') and v2 <- c(1,1,2,3,2,1), for some parameters sets it crashes, also. One example: 1. Copy the following data to a new text file named 'errorexample.txt'. "InicioViagem","Duracao","DiaSemana","DiaAno" "1705",47364,4376,"quarta-feira ",56 "1695",47900,5270,"quarta-feira ",56 "1692",49828,5182,"quarta-feira ",56 "1690",50779,5489,"quarta-feira ",56 &quo...