[R] Download internet videos

2015-02-11 Thread Raoni Rodrigues
Hello R-helpers, It is possible donwload youtube videos with R? I made a google search and find no options to do that. Thanks in advanced, Raoni [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

[R] Donwload youtube videos

2015-02-09 Thread Raoni Rodrigues
Hello R-helpers, It is possible donwload youtube videos with R? I made a google search and find no options to do that. Thanks in advanced, Raoni [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

Re: [R] Data handling

2013-10-16 Thread Raoni Rodrigues
) TimeCC - as.POSIXct(paste0(paste(teste[,1],teste[,2]), sub(^0,,teste[,3])),format=%m/%d/%y %H:%M:%OS) options(op) #reset A.K. On Tuesday, October 15, 2013 10:29 AM, Raoni Rodrigues caciquesamu...@gmail.com wrote: Hello all, I'm having a problem with data handling. My input data

[R] Data handling

2013-10-15 Thread Raoni Rodrigues
Hello all, I'm having a problem with data handling. My input data is (dput in the after the signature): Date Time Fraction 06/19/13 22:15:39 0.3205 06/19/13 22:15:44 0.3205 06/19/13 22:15:49 0.3205 06/19/13 22:15:54 0.3205 06/19/13 22:15:59 0.3205 06/19/13 22:16:09

[R] Grouping variables by a irregular time interval

2013-09-21 Thread Raoni Rodrigues
Hello all, I have a very large data frame (more than 5 million lines) as below (dput example at the end of mail): Station Antenna TagDateTime Power Events 1 2 999 22/07/2013 11:00:2117 1 1 2 999 22/07/2013 11:33:4731 1 1 2 999

Re: [R] Grouping variables by a irregular time interval

2013-09-21 Thread Raoni Rodrigues
, 65L, 21L, 28L, 79L, 18L, 25L, 92L, 183L, 177L), Events = c(1L, 5L, 14L, 4L, 3L, 1L, 3L, 1L, 1L, 5L, 40L, 40L)), .Names = c(Station, Antenna, Tag, StartDateTime, EndDateTime, Power, Events), class = data.frame, row.names = c(NA, -12L)) 2013/9/21 Raoni Rodrigues caciquesamu...@gmail.com

[R] Grouping variables by a irregular time interval

2013-09-20 Thread Raoni Rodrigues
Hello all, I´m have a very large data frame (more than 5 million lines) as below (dput example at the end of mail): Station Antenna TagDateTime Power Events 1 1 2 999 22/07/2013 11:00:2117 1 2 1 2 999 22/07/2013 11:33:4731 1 3 1 2

[R] Mean calculation by two variables

2013-01-16 Thread Raoni Rodrigues
Hello All, I have a data frame (dput information below) with food item weight for fish species. I need to calculate the Mean proportion by weight of each food item for each specie, as show in solution data frame (dput information below). I use the ddply function (plyr package) in two steps.

Re: [R] Mean calculation by two variables

2013-01-16 Thread Raoni Rodrigues
, Raoni Rodrigues escreveu: Hello All, I have a data frame (dput information below) with food item weight for fish species. I need to calculate the Mean proportion by weight of each food item for each specie, as show in solution data frame (dput information below). I use the ddply function

[R] Data frame manipulation

2012-11-22 Thread Raoni Rodrigues
Hello, I have a table that was constructed in a wrong way (dput data on bottom - wrong data-frame): Local Mês Dia Colonia X6h X7h X8h X9hX10hX11h X12hX13hX14hX15hX16hX17h 1 Conceição Junho 1 3 2.16137 2.20412 2.08991 1.72428 1.69897

[R] Strange data frame behavior

2012-09-24 Thread Raoni Rodrigues
Hello all, I don't understand a strange behavior in data frame manipulation. data_frame1 = data.frame(Site = c(S1, S2, S3, S4, L1, L2, L3, L4), Number = c(1, 3, 5, 2, 1, 1, 2, 1)) data_frame2 = data_frame1 [data_frame1$Site != S1, ] dput (data_frame2)

[R] Formula in a data-frame

2012-09-17 Thread Raoni Rodrigues
Hello all, I'm new in R, and I have a data-frame like this (dput information below): Specie Fooditem Occurrence Volume 1 Schizodonvegetal 1 0.05 2 Schizodon sediment 1 0.60 3 Schizodonvegetal 1 0.15 4 Schizodon

Re: [R] By function

2011-04-10 Thread Raoni Rodrigues
, 30L), class = data.frame) 2011/4/9 Liviu Andronic landronim...@gmail.com: Hello On Fri, Apr 8, 2011 at 12:38 AM, Raoni Rodrigues caciquesamu...@gmail.com wrote: Hello all! I have a data frame with nine variables and 293 cases. (attached goes the csv file). The CSV didn't get through so

[R] By function

2011-04-07 Thread Raoni Rodrigues
Hello all! I have a data frame with nine variables and 293 cases. (attached goes the csv file). I need to calculate a index using the sum of one variable (N) divided by the length of other variable (Fisherman), but for each day (Date). I tried to use that codes: by (cpue, cpue$Date, function