Para o tempo em minutos...

res$timeDiff <- with(res, difftime(dat[fim,1],dat[ini,1], units="mins"))

ou no final...

as.numeric(res$timeDiff, units="mins")

Éder Comunello <c <[email protected]>[email protected]>
Dourados, MS - [22 16.5'S, 54 49'W]
_______________________________________________
R-br mailing list
[email protected]
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código 
mínimo reproduzível.

Responder a