search for: live4

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

Did you mean: live
2012 Apr 13
1
Coding columns for survival analysis
...ust found, and "mort" when it was previously alive but is now dead. Given the following: > tree_live = data.frame(tree = c("tree1","tree2","tree3","tree4","tree5"), live1 = c(0,0,0,1,1), live2 = c(0,0,1,1,0), live3 = c(0,1,1,0,0), live4 = c(1,1,0,0,0), live5 = c(1, 0, 0, 0, 0)) tree live1 live2 live3 live4 live5 1 tree1 0 0 0 1 1 2 tree2 0 0 1 1 0 3 tree3 0 1 1 0 0 4 tree4 1 1 0 0 0 5 tree5 1 0 0 0 0 I w...