search for: arkadasch

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

2008 Mar 05
5
loop
Hello all, I am trying to use m <- seq(-1,1,0.1) x1 <- vector() x2 <- vector() for(i in m){ x1[i] <- i x2[i] <- i^2 } dat <- data.frame(x1,x2) But, I have false result >dat x1 x2 1 1 1 could some tell me how it is possible to do this? Thank you! --------------------------------- [[alternative HTML version
2007 Oct 19
2
header
Hi everyone, I read the following data > setwd("d:/") > mydata <- read.table("mydata.txt", header=T) > attach(mydata) > mydata name X20_1_TT_Z_e4 X20_2_TT_Z_e4 1 A1 102 22 2 A2 103 21 3 A3 107 20 > name [1] A1 A2 A3 Levels: A1 A2 A3 > mode(name) [1] "numeric" Why name is