Re: [R] Specifying data point locations on x-axis using boxplot() and points()

2011-08-17 Thread David Winsemius
On Aug 18, 2011, at 12:03 AM, Kota Hattori wrote: Hi all, I would like to ask a question with regard to R graphics. I am currently trying to add data points in boxplots using points(). In my script, I add up boxplots three times using add=TRUE. I use points() every time I add boxplots, a

[R] Specifying data point locations on x-axis using boxplot() and points()

2011-08-17 Thread Kota Hattori
Hi all, I would like to ask a question with regard to R graphics. I am currently trying to add data points in boxplots using points(). In my script, I add up boxplots three times using add=TRUE. I use points() every time I add boxplots, and I see data points. However, I see all data points are clu

Re: [R] Specifying data type when creating a dataframe using RODBC

2009-05-13 Thread J Dougherty
On Tuesday 12 May 2009 02:59:30 pm Mark Na wrote: > H R-helpers, > ... > > One column (several, actually) in the spreadsheet contains integers in > its first few rows but later values in these columns contain a mixture > of numbers, letters and symbols (it's an ID variable, containing e.g., > 12, 1

Re: [R] Specifying data type when creating a dataframe using RODBC

2009-05-12 Thread Prof Brian Ripley
On Tue, 12 May 2009, Mark Na wrote: H R-helpers, I am using the following code to make a dataframe from an Excel spreadsheet: library(RODBC) channel <- odbcConnectExcel("Spreadsheet.xls") Data <- sqlFetch(channel, "Tab1") odbcClose(channel) One column (several, actually) in the spreadsheet co

[R] Specifying data type when creating a dataframe using RODBC

2009-05-12 Thread Mark Na
H R-helpers, I am using the following code to make a dataframe from an Excel spreadsheet: library(RODBC) channel <- odbcConnectExcel("Spreadsheet.xls") Data <- sqlFetch(channel, "Tab1") odbcClose(channel) One column (several, actually) in the spreadsheet contains integers in its first few rows b

Re: [R] specifying data

2008-07-12 Thread hpdutra
have you tried reshape package? library(reshape) dfm <- melt(dataframe, m = "date") You can find out more about reshape at http://had.co.nz/reshape sprohl wrote: > > Hello, > I have to merge several serie by "date". I used: > > cb<-merge(cbds,cbbond,by=c("date"),all=T). > > I have the dail

Re: [R] specifying data

2008-07-10 Thread Daniel Malter
http://www.ats.ucla.edu/stat/r/faq/sort.htm Best, daniel sprohl wrote: > > Hello, > I have to merge several serie by "date". I used: > > cb<-merge(cbds,cbbond,by=c("date"),all=T). > > I have the daily and the high frequency data. > Unfortunately, the programm did not sort by "sort" > my dat

[R] specifying data

2008-07-10 Thread sprohl
Hello, I have to merge several serie by "date". I used: cb<-merge(cbds,cbbond,by=c("date"),all=T). I have the daily and the high frequency data. Unfortunately, the programm did not sort by "sort" my data in a chronological manner. Is there any possibility to do this in R?. Thanks in advance, Silk