From: Pravin (jadhavpr@vcu.edu)
Date: Wed 24 Dec 2003 - 18:27:24 EST
Message-id: <000001c3c9ef$60a81220$0500a8c0@Pravin>
Hello,
I am a beginner in R programming and recently heard about this mailing list.
Currently, I am trapped into a simple problem for which I just can't find a
solution. I have a huge dataset (~81,000 observations) that has been
analyzed and the final result is in the form of 0 and 1(one column).
I need to write a code to process this column in a little complicated way.
These 81,000 observations are actually 9,000 sets (81,000/9).
So, in each set whenever zero appears, rest all observations become zero.
For example;
If the column has:
111110111111011111111111111111111....
The output should look like:
111110000111000000111111111111111...
I hope this makes sense.
Thank you in anticipation,
Pravin
Pravin Jadhav
[[alternative HTML version deleted]]
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
This archive was generated by hypermail 2.1.3 : Thu 01 Jan 2004 - 09:21:00 EST