[R] Web scraping - Having trouble figuring out how to approach this problem

2017-02-23 Thread henrique monte
Sometimes I need to get some data from the web organizing it into a dataframe and waste a lot of time doing it manually. I've been trying to figure out how to optimize this proccess, and I've tried with some R scraping approaches, but couldn't get to do it right and I thought there could be an

Re: [R] replace NAs in each column of a matrix with 0 or 1 or 2 with specific proportion

2016-06-06 Thread Henrique Dallazuanna
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Henriq

[R] Last call internship position for working with R in Porto Alegre (RS), Brazil

2015-01-17 Thread Fernando Henrique Ferraz Pereira da Rosa
: https://plus.google.com/+FernandoHenriqueFerrazPereiradaRosa/posts/p/pub or here: https://www.linkedin.com/pulse/last-call-internship-position-data-science-fernando-henrique-rosa . Thank you and a nice Rweekend for everyone. -- Though this be randomness, yet there is structure in't. Fernando H Rosa

[R] Deploying R in a corporate environment

2014-06-10 Thread Fernando Henrique Ferraz Pereira da Rosa
Dear all, We have recently prepared a video for a presentation on the R User Conference in Korea (http://rconference.itdaily.kr/). After the presentation on the congress and getting the proper approvals from my employer, I'd like to share the video with r-help .

Re: [R] converting a list of loglin terms to a model formula

2013-07-03 Thread Henrique Dallazuanna
PLEASE do read the posting guide http://www.R-project.org/** posting-guide.html http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML

[R] Course

2012-08-28 Thread Pedro Henrique Lamarão Souza
Hello, I am a student of Materials Engineering and I want to minister an introductory course of R at the university I study here in Brazil. I know R is a free software, but I just want to know if I do need a special authorization for doing it. The course will be totaly free and I also will

[R] Saving Splitted Series to Excel via XLConnect

2012-08-08 Thread Henrique Andrade
) writeWorksheet(wb, dados2, sheet = Teste1) saveWorkbook(wb) With this code I only get the 433 series. How could I fix my code? How could I include the other series? Many thanks in advance, Henrique Andrade __ R-help@r-project.org mailing list https

Re: [R] Saving Splitted Series to Excel via XLConnect

2012-08-08 Thread Henrique Andrade
Dear Arun, Thanks a lot for your help, but I really need to save the splitted data in a Excel file (xlsx or xls). This is because I will need to make links between different Excel workbooks. Best regards, Henrique Andrade Enviado via iPhone Em 08/08/2012, às 17:25, arun smartpink...@yahoo.com

Re: [R] Saving Splitted Series to Excel via XLConnect

2012-08-08 Thread Henrique Andrade
regards (or Um abraço), Henrique Andrade 2012/8/8 Rui Barradas ruipbarra...@sapo.pt: Hello, First of all, apologies to Henrique, he'll receive th same answer twice, but I forgot to Cc the list. In order to write 3 worksheets you need to create 3 worksheets. What happened is that you were

[R] Splitting Data Into Different Series

2012-08-06 Thread Henrique Andrade
]} } for(i in seq(along=dados[,3])) { if(dados[i,3] == 2005) {dados2005[i,1:3] - dados[i,1:3]} } for(i in seq(along=dados[,3])) { if(dados[i,3] == 3939) {dados3939[i,1:3] - dados[i,1:3]} } Best regards, Henrique Andrade __ R-help@r-project.org

Re: [R] Splitting Data Into Different Series

2012-08-06 Thread Henrique Andrade
Dear Rui and Arun, Thanks a lot for your help. I will test all the proposed solutions ;-) Best regards, Henrique Andrade 2012/8/6 Rui Barradas ruipbarra...@sapo.pt: Hello, Try the following. split(data.frame(dados), dados[, code]) Also, it's better to have data like 'dados

Re: [R] grep and XML

2012-04-16 Thread Henrique Dallazuanna
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] how to convert seconds to 12 hour time format

2012-04-09 Thread Henrique Dallazuanna
deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] Help Using Spreadsheets

2012-04-06 Thread Pedro Henrique
- Original Message - From: Petr PIKAL petr.pi...@precheza.cz To: Pedro Henrique lama...@superig.com.br Cc: r-help@r-project.org Sent: Friday, April 06, 2012 6:27 AM Subject: Hi: [R] Help Using Spreadsheets Hi Hello, I am a new user of R and I am trying to use the data I am reading from

[R] Help Using Spreadsheets

2012-04-05 Thread Pedro Henrique
Hello, I am a new user of R and I am trying to use the data I am reading from a spreadsheet. I installed the xlsReadWrite package and I am able to read data from this files, but how can I assign the colums into values? E.g: as I read a spreadsheet like this one: A B 1 2 4 9 I manually assign

Re: [R] R equivalent for SQL query

2012-04-03 Thread Henrique Dallazuanna
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted]] __ R

Re: [R] subtract a list of vectors from a list of data.frames in an elegant way

2012-03-31 Thread Henrique Dallazuanna
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] read.csv and field containing single quotes

2012-03-26 Thread Henrique Dallazuanna
} __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16

Re: [R] string substitution for argument in function

2012-03-25 Thread Henrique Dallazuanna
, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] editing import data, strings

2012-02-17 Thread Henrique Dallazuanna
commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [R] [R-sig-DB] Reading data from a worksheet on the Internet

2012-02-12 Thread Henrique Dallazuanna
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted

Re: [R] Reading in csv with footer

2012-02-12 Thread Henrique Dallazuanna
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted

Re: [R] String position character replacement

2012-02-08 Thread Henrique Dallazuanna
commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Webscraping - How to Scrape Out Text Into R As If Copied Pasted From Webpage?

2011-10-26 Thread Henrique Dallazuanna
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r

Re: [R] replacing percentage of values in data frame

2011-10-19 Thread Henrique Dallazuanna
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] Bartlett's Test of Sphericity

2011-10-09 Thread Fernando Henrique Ferraz Pereira da Rosa
You could also check this function I implemented awhile back: http://www.fernandohrosa.com.br/en/P/sphericity-test-for-covariance-matrices-in-r-sphericity-test/ On Fri, Jun 17, 2011 at 4:43 PM, thibault grava thibault.gr...@gmail.comwrote: Hello Dear R user, I want to conduct a Principal

Re: [R] Saving a list as a Matrix

2011-09-03 Thread Henrique Dallazuanna
-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] How to keep the same class?

2011-09-02 Thread Henrique Dallazuanna
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https

Re: [R] how to create data.frames from vectors with duplicates

2011-08-31 Thread Henrique Dallazuanna
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] sum of two lists

2011-08-29 Thread Henrique Dallazuanna
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted

Re: [R] character vector to text with returns

2011-08-29 Thread Henrique Dallazuanna
code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] How to get the last modified time of a file from R

2011-08-26 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná

Re: [R] string manipulation

2011-08-25 Thread Henrique Dallazuanna
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil

Re: [R] Help: find the index of the minimum of entries

2011-08-24 Thread Henrique Dallazuanna
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] subsetting a list of matrices

2011-08-23 Thread Henrique Dallazuanna
commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] test if vector contains elements of another vector (disregarding the position)

2011-08-22 Thread Henrique Dallazuanna
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] How to navigate (zoom, pan) in a plot/graph

2011-08-21 Thread Henrique Dallazuanna
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r

Re: [R] splitting sample names

2011-08-18 Thread Henrique Dallazuanna
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r

Re: [R] join columns

2011-08-10 Thread Henrique Dallazuanna
code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] Loading List data into R with scan()

2011-06-23 Thread Henrique Dallazuanna
l - readLines(textConnection(1: 3,4,5,6 2:1,2,3 43: 5,7,8,9,5)) On Thu, Jun 23, 2011 at 12:28 PM, Henrique Dallazuanna www...@gmail.com wrote: Try this:  sapply(lapply(strsplit(l, :), strsplit, ,), function(x)structure(lapply(x[2], as.numeric), .Names = x[1])) On Thu, Jun 23, 2011 at 11:39

Re: [R] Loading List data into R with scan()

2011-06-23 Thread Henrique Dallazuanna
-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org

Re: [R] accessing files from subfolders

2011-06-08 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25

Re: [R] subsetting with condition

2011-06-01 Thread Henrique Dallazuanna
at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] Test for list membership

2011-05-30 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25

Re: [R] adding up elements within a list

2011-05-17 Thread Henrique Dallazuanna
, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] extract integers from string

2011-05-12 Thread Henrique Dallazuanna
. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna

Re: [R] Pretty printing numbers

2011-05-08 Thread Henrique Dallazuanna
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] Regexp question

2011-05-04 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] How to pass objects from local() to GlobalEnv

2011-05-01 Thread Henrique Dallazuanna
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba

Re: [R] Question on list object

2011-04-27 Thread Henrique Dallazuanna
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil

Re: [R] Tell the difference between characters

2011-04-26 Thread Henrique Dallazuanna
at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] matrix

2011-04-26 Thread Henrique Dallazuanna
, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] how to extract options for a function call

2011-04-18 Thread Henrique Dallazuanna
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https

Re: [R] Extract information from the names of a list within lapply

2011-04-15 Thread Henrique Dallazuanna
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list

Re: [R] add names to data frame

2011-04-14 Thread Henrique Dallazuanna
, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] Regrouping data

2011-04-08 Thread Henrique Dallazuanna
Try this: reshape(rat_dat, direction = 'wide', idvar = 'period', timevar = 'name') On Fri, Apr 8, 2011 at 4:44 AM, Sandeepa Ramakrishnan sandeepa_ramakrish...@yahoo.com wrote: Dear R helpers, Thanks a lot for your kind help. The xtab function suggested by Mr. Henrique Dallazuanna

Re: [R] Two functions as parametrs of a function.

2011-04-07 Thread Henrique Dallazuanna
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] Regrouping data

2011-04-07 Thread Henrique Dallazuanna
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help

Re: [R] An extention of outer() ?

2011-04-07 Thread Henrique Dallazuanna
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba

Re: [R] Calculated mean value based on another column bin from dataframe.

2011-04-06 Thread Henrique Dallazuanna
/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Help in splitting a list

2011-04-05 Thread Henrique Dallazuanna
, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

Re: [R] Creating multiple vector/list names-novice

2011-04-04 Thread Henrique Dallazuanna
. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide

Re: [R] lattice: how to center a subtitle?

2011-04-04 Thread Henrique Dallazuanna
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

Re: [R] merging 2 frames while keeping all the entries from the reference frame

2011-04-04 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna

Re: [R] controlling the labels width of a barplot

2011-04-01 Thread Henrique Dallazuanna
://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] regular expression

2011-04-01 Thread Henrique Dallazuanna
and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] function in argument

2011-04-01 Thread Henrique Dallazuanna
]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] Italicized title from index

2011-03-31 Thread Henrique Dallazuanna
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] Italicized title from index

2011-03-31 Thread Henrique Dallazuanna
Better: plot(1, main = bquote(Yield for ~ italic(.(as.character(spp))) ~ in management region ~ .(region))) You have a factor, so you need convert it to character On Thu, Mar 31, 2011 at 8:59 AM, Henrique Dallazuanna www...@gmail.com wrote: Try this: plot(1, main = bquote(Yield

Re: [R] choosing best 'match' for given factor

2011-03-31 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] read password-protected files

2011-03-31 Thread Henrique Dallazuanna
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] transparent grays?

2011-03-31 Thread Henrique Dallazuanna
and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

Re: [R] Create Variable names dynamically

2011-03-31 Thread Henrique Dallazuanna
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Quick recode of -999 to NA in R

2011-03-30 Thread Henrique Dallazuanna
. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented

Re: [R] save ordinary numerical calculations as pdf

2011-03-30 Thread Henrique Dallazuanna
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https

Re: [R] fonts in mosaic

2011-03-30 Thread Henrique Dallazuanna
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] summing values by week - based on daily dates - but with some dates missing

2011-03-30 Thread Henrique Dallazuanna
-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] How can we modify attributes of files in Windows Systems using R?

2011-03-30 Thread Henrique Dallazuanna
list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] How to define new operator in R?

2011-03-30 Thread Henrique Dallazuanna
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] summing values by week - based on daily dates - but with some dates missing

2011-03-30 Thread Henrique Dallazuanna
Try this: library(zoo) wk - as.numeric(format(myframe$dates, '%W')) is.na(wk) - wk == 0 aggregate(value ~ group + na.locf(wk), myframe, FUN = sum) On Wed, Mar 30, 2011 at 4:35 PM, Dimitri Liakhovitski dimitri.liakhovit...@gmail.com wrote: Henrique, this is great, thank you! It's almost what

Re: [R] summing values by week - based on daily dates - but with some dates missing

2011-03-30 Thread Henrique Dallazuanna
. Henrique, thanks a lot! One question: if the data are as I originally posted - then week numbered 52 is actually the very first week (it straddles 2008-2009). What if the data much longer (like in the code below - same as before, but more dates) so that we have more than 1 year to deal

Re: [R] summing values by week - based on daily dates - but with some dates missing

2011-03-30 Thread Henrique Dallazuanna
This puts 'NA' in the first week of the year. Take a look on the code below: 2009.52 %% 1 On Wed, Mar 30, 2011 at 6:35 PM, Dimitri Liakhovitski dimitri.liakhovit...@gmail.com wrote: Henrique, this is beautiful, thank you so much. This is a great and correct solution. A stupid question

Re: [R] Lists of tables and conditional statements

2011-03-30 Thread Henrique Dallazuanna
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] Simple but elusive - expand back from counts

2011-03-29 Thread Henrique Dallazuanna
, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] create string with using paste.

2011-03-29 Thread Henrique Dallazuanna
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] Holes in a data frame with time intervals

2011-03-28 Thread Henrique Dallazuanna
, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

Re: [R] rep for multiple categories

2011-03-28 Thread Henrique Dallazuanna
              0 __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique

Re: [R] add my own calculated conficence interval to a plot

2011-03-28 Thread Henrique Dallazuanna
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] Ordering data.frame based on class

2011-03-28 Thread Henrique Dallazuanna
-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] Finding the common portion of strings

2011-03-25 Thread Henrique Dallazuanna
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] for loop assistance -

2011-03-25 Thread Henrique Dallazuanna
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch

Re: [R] rbind a heterogeneous row

2011-03-22 Thread Henrique Dallazuanna
, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

Re: [R] string interpolation

2011-03-21 Thread Henrique Dallazuanna
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list

Re: [R] Computing row differences in new columns

2011-03-21 Thread Henrique Dallazuanna
-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting

Re: [R] Replace split with regex for speed ?

2011-03-18 Thread Henrique Dallazuanna
. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal

Re: [R] predict lm doubt

2011-03-18 Thread Henrique Dallazuanna
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] subset data frame with condition

2011-03-18 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49

Re: [R] Understanding tryCatch

2011-03-18 Thread Henrique Dallazuanna
://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O

Re: [R] making dataframes

2011-03-16 Thread Henrique Dallazuanna
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Henrique Dallazuanna Curitiba

Re: [R] export list to csv

2011-03-16 Thread Henrique Dallazuanna
, reproducible code. -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

  1   2   3   4   5   6   7   8   9   10   >