[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 m

[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 m

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> wro

[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 0.320

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

2013-09-21 Thread Raoni Rodrigues
.Names = c("Station", "Antenna", "Tag", "DateTime", "Power", "Events"), class = "data.frame", row.names = c(NA, -118L)) complete desired result dput structure(list(Station = c(1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L

[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 22/0

[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

Re: [R] Mean calculation by two variables

2013-01-16 Thread Raoni Rodrigues
ot;, "Acestrorhynchus lacustris", "Acestrorhynchus lacustris", "Schizodon intermedius", "Schizodon intermedius", "Schizodon intermedius", "Schizodon intermedius"), Food.item = c("Peixe", "Vegetal", "Alga", &

[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. Firs

[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 1.

[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

[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
2011-04-05", "2011-04-06", "2011-04-07" ), class = "factor"), Fisherman = structure(c(5L, 1L, 2L, 5L, 1L, 2L, 1L, 2L, 5L, 5L, 2L, 1L, 2L, 5L, 1L, 2L, 5L, 1L, 5L, 5L, 2L, 1L, 5L, 1L, 2L, 5L, 1L, 2L, 5L, 1L), .Label = c("Yellow", "Blue", "Whi

[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 (x