Skip to content
Prev 343127 / 398513 Next

Operating on the value from row i and row i+1

Hi Bert,

I should have phrased my question differently.

I actually want to do two things. 

First is to make a step plot. The "s"/"S" is a typo on my part.

The second is to write a script that when I ask the program for Response of time == 4, I want it to return "6", or if I ask for response of time == 12, it will return "4", and so on.

Pharavee


-----Original Message-----
From: Bert Gunter [mailto:gunter.berton at gene.com] 
Sent: Thursday, August 14, 2014 11:27 AM
To: Jaiprasart, Pharavee (HSC)
Cc: r-help at r-project.org
Subject: Re: [R] Operating on the value from row i and row i+1

Your query is a bit unclear, but I suspect

?plot

and a **careful read** about types "s" and "S" therein would address your problem.

Cheers,
Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge is certainly not wisdom."
Clifford Stoll
On Thu, Aug 14, 2014 at 8:07 AM, Jaiprasart, Pharavee (HSC) <pharavee-jaiprasart at ouhsc.edu> wrote: