Displaying 1 result from an estimated 1 matches for "newcow".
Did you mean:
newcol
2008 Mar 20
3
create matrix
Hi all,
I have a dataset consisting of 5 columns and over 5000 rows. Each row
gives information about an individual animal, including longevity, i.e.
at what age an animal died.
For the model I use I need to create n rows for each animal, n being its
longevity, and a new column 'survival' with a binary 0/1 outcome. When
an animal died e.g. at age 5, there have to be 5 rows of identical