Set GRiwrm rownames with ID
with rownames(griwrm) <- griwrm$id
and after that we could write griwrm[id,]
instead of griwrm[griwrm$id==id,]
Maybe a benchmark will prove that it is faster.
En prévision de l'arrivée de la forge institutionnelle INRAE, nous vous invitons à créer vos nouveaux projets sur la forge MIA.
with rownames(griwrm) <- griwrm$id
and after that we could write griwrm[id,]
instead of griwrm[griwrm$id==id,]
Maybe a benchmark will prove that it is faster.