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.
La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.
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.