Hi @enzo,
Per model: yes you would consider only the last component value.
Per group: I assume you mean per sample group. I dont see how this can be calculated, here are the formula we use, feel free to tweak the vip()
function for your own needs.
From our current handbook (in preparation):
Kim-Anh