search for: tp2232517p2232598

Displaying 1 result from an estimated 1 matches for "tp2232517p2232598".

2010 May 26
2
sequential treatment of a vector for formula
Please pardon the simplicity of this question of biological nature. I'm trying to calculate a statistic, px, the proportion of a cohort that survives through the interval x:x+1. I have the vector from which the calc is to be made but I can't figure out how to tell R to take the current value and divide it by the next value. The formula is P0=L1/LO The following is an example of the