#One triplet
tri.basic(tri=datatests[["tri_bs"]],M.exp=datatests[["M_exp"]],
E.exp=datatests[["E_exp"]],T.exp=datatests[["T_exp"]])
#Two triplets (or more)
tri.basic(tri=datatests[["tri_bs"]],M.exp=datatests[["M_exp"]],
E.exp=datatests[["E_exp"]],T.exp=datatests[["T_exp"]],
index=c(1,2))
Run the code above in your browser using DataLab