Skip to content
Prev 343198 / 398513 Next

data.table/ifelse conditional new variable question

Thanks!

I think I know what is being done here but not sure how to fix the
following error:

Error in l$PID[l$\Relationship == "sibling"] <- l$Sample.ID[father] :
  replacement has length zero
On Sat, Aug 16, 2014 at 6:48 PM, Jorge I Velez <jorgeivanvelez at gmail.com> wrote: