Re: [R] seconds to h:m:s format

2015-11-11 Thread Jim Lemon
Any date would do as you are only getting the H:M:S at the end. I just chose the zero date. Jim On Thu, Nov 12, 2015 at 1:25 PM, Omar André Gonzáles Díaz < oma.gonza...@gmail.com> wrote: > Thank you, Jim. > > Just to understand it: > > You replicated 10 times: "1970-01-01". Why this specific da

Re: [R] seconds to h:m:s format

2015-11-11 Thread Omar André Gonzáles Díaz
Thank you, Jim. Just to understand it: You replicated 10 times: "1970-01-01". Why this specific date? 2015-11-11 20:22 GMT-05:00 Jim Lemon : > Hi Omar, > There is some sort of error in your structure definition, but the > following works for me: > > session.duration.fuente <- > data.frame(

Re: [R] seconds to h:m:s format

2015-11-11 Thread Jim Lemon
Hi Omar, There is some sort of error in your structure definition, but the following works for me: session.duration.fuente <- data.frame(mes=c(rep("oct",5),rep("nov",5)), fuente=c("adwords", "directo", "organico", "redes sociales", "referral", "adwords", "directo", "organico", "redes sociale

[R] seconds to h:m:s format

2015-11-11 Thread Omar André Gonzáles Díaz
Hi, I've a data frame with 3 columns: "mes", "fuente", "avg.sessions.duration". "avg.sessions.duration" is a column containing seconds. I need you help with: 1.- Help to put these values in "h:m:s" format. . === I've found this german page: