3 2.74132386
4 2 1 NA
5 2 2 4.29322683
6 2 3 5.09269667
7 3 1 4.07936332
8 3 2 7.41808455
9 3 3 0.01558664
A.K.
- Original Message -
From: Troels Ring
To: r-help@r-project.org
Cc:
Sent: Wednesday, May 16, 2012 11:56 AM
Subject: [R] simple d
Thanks a lot - beautiful
Troels
Den 16-05-2012 19:29, David Winsemius skrev:
On May 16, 2012, at 11:56 AM, Troels Ring wrote:
Dear friends - I hope you will forgive me another simple question,
illustrated by
ID <- c(1,1,1,2,2,3,3,3)
PERIOD <- c(1,2,3,2,3,1,2,3)
X <- runif(8,0,10))
Extrane
On May 16, 2012, at 11:56 AM, Troels Ring wrote:
Dear friends - I hope you will forgive me another simple question,
illustrated by
ID <- c(1,1,1,2,2,3,3,3)
PERIOD <- c(1,2,3,2,3,1,2,3)
X <- runif(8,0,10))
Extraneous paren removed:
FF <- data.frame(ID=ID,PERIOD=PERIOD,X=X)
I need to the
Dear friends - I hope you will forgive me another simple question,
illustrated by
ID <- c(1,1,1,2,2,3,3,3)
PERIOD <- c(1,2,3,2,3,1,2,3)
X <- runif(8,0,10))
FF <- data.frame(ID=ID,PERIOD=PERIOD,X=X)
I need to the fourth value of X as NA, and ID and PERIOD is updated to
1,1,1,2,2,2,3,3,3 and 1,
Your first statement may create a data frame, but your second
statement now store a vector in an object with the same name, but is
now not a data frame, that is why it "appears" that the first row is
overwritten. What are you trying to do?
On 10/23/07, pharos <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
Hi,
At first I have to admit that I'm quite new to R and need some basic
information. Although I searched the internet and this forum where I found
answers to really sophisticated questions, I couldn't find the answer to my
really simple one - or I didn't understand it for English is not my
mothe
6 matches
Mail list logo