TED]
[mailto:[EMAIL PROTECTED] Behalf Of Neuer Arkadasch
Sent: March 5, 2008 10:00 AM
To: [EMAIL PROTECTED]
Subject: [R] 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(x
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!
Hello,
Is it possible to add a legend to the 3d scatterplot cloud?
Thanks alot,
Arkadasch
-
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mai
Maybe I had to write that the original data what I read are
name 20_1_TT_Z_e4 20_2_TT_Z_e4
A1 10222
A2 10321
A3 10720
Thatk you!
Neuer Arkadasch <[EMAIL PROTECTED]> schrieb:
Hi everyone, I re
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 10222
2 A2 10321
3 A3 10720
> name
[1] A1 A2 A3
Levels: A1
5 matches
Mail list logo