search for: tamkaew

Displaying 3 results from an estimated 3 matches for "tamkaew".

2002 Apr 09
6
matrix dimension and for loop
...ion. Example of x is a vector. > x<-rnorm(10) > y=2 > Z<-matrix(0,NROW(x),NROW(y)) > for (j in 1:NROW(y)) Z[,j]<-x[,j]*y[j] Error in x[, j] : incorrect number of dimensions Could anyone please help me to solve these problem? Thank you very much for your kindness. Sonchawan Tamkaew __________________________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "bod...
2002 Apr 25
2
install a package from CRAN
Hi, I've tried to install package "tseries" on my computer (on Windows) but it doesn't work so far. I have Perl but no compilers (C or Fortran) installed. So could anyone who happens to have them please mail me the binaries? Many thanks in advance, Sonchawan _________________________________________________________________
2002 May 03
2
delete rows
Hello, I would like to know how to delete some rows? Suppose I have a large data frame look something like this: x1 x2 x3 .............. a 1 0.45 b 1 0.41 c 0 0.43 a 1 0.39 d 1 0.40 e 0 0.41 r 1 0.42 a 0 0.46 . . .. I would like to have another data frame which has all