Re: [R] Huge Dataset Dates Span two Lines

2015-01-08 Thread David Winsemius
On Jan 8, 2015, at 10:20 AM, DVL wrote: > I'm trying to import a many gigabyte .txt file to analyze. It is asterisk > delimited. I'm having an issue with the date field in the dataset. In the > first 165 lines dates are listed as : > -MM-DD HH:MM:SS > > Then on the 166th line and in other pl

Re: [R] Color problem for 2 simple graphs

2015-01-08 Thread varinsacha
William, Many thanks It perfectly works. Best Envoyé de mon iPhone Le 8 janv. 2015 à 21:24, William Dunlap a écrit : > Supply a vector of colors. E.g., > barplot(table(mtcars$cyl), col=c("red","yellow","green")) > boxplot(with(mtcars, split(wt, cyl)), col=c("red","yellow","green")) > >

Re: [R] Color problem for 2 simple graphs

2015-01-08 Thread William Dunlap
Supply a vector of colors. E.g., barplot(table(mtcars$cyl), col=c("red","yellow","green")) boxplot(with(mtcars, split(wt, cyl)), col=c("red","yellow","green")) Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jan 8, 2015 at 12:06 PM, varin sacha wrote: > Hi R-experts, > Basic question

[R] Color problem for 2 simple graphs

2015-01-08 Thread varin sacha
Hi R-experts, Basic questions (sorry for that) but after many attempts I don't get it. So in case of you might have time to give me some responses, would be highly appreciated. Two simple graphs (barplots and boxplots). Everything is going fine but I would like to have my 2 bars (male and female

Re: [R] Huge Dataset Dates Span two Lines

2015-01-08 Thread Collin Lynch
You might consider using something other than R to clean the file and even to load it. I regularly use python to preprocess data for R and often feed it to R directly via the rpy2 interface. If the dates are delimited by some feature (e.g. ") you could potentially use the python csv library to lo

[R] Trying to batch crop a folder of TIFFs -- "failure during raster IO"

2015-01-08 Thread Rutherford Platt
Hi All, I have a folder with approximately 300 large TIFFs, totaling about 30 gb. I am trying to batch crop them by a shapefile (using functions from the raster and rgdal packages). The script below works when I have a small number of TIFFs but when I run it with 25 or so TIFFs I get the "Fail

[R] Huge Dataset Dates Span two Lines

2015-01-08 Thread DVL
I'm trying to import a many gigabyte .txt file to analyze. It is asterisk delimited. I'm having an issue with the date field in the dataset. In the first 165 lines dates are listed as : -MM-DD HH:MM:SS Then on the 166th line and in other places the date spans two lines: -MM-DD HH:MM:SS T

Re: [R] i need help for var.test()

2015-01-08 Thread S Ellison
See also the levene test from the car package, and for a single outlying variance see the cochran test from the outliers package. From: R-help [r-help-boun...@r-project.org] On Behalf Of sait k [sa...@hotmail.de] Sent: 08 January 2015 11:12 To: r-h...@lis

Re: [R] Overlapping Matrices By column correlation

2015-01-08 Thread David Winsemius
On Jan 8, 2015, at 2:26 AM, Karim Mezhoud wrote: > Mantel test is interesting but it can't displays wish columns are similar. > > Here an example: M >gene1 gene2 gene3 gene4 gene5 > Sample1 241 72 > Sample2

[R] Revolutions blog: December 2014 roundup

2015-01-08 Thread David Smith
Happy new year! For more than 6 years, Revolution Analytics staff and guests have written about R every weekday at the Revolutions blog: http://blog.revolutionanalytics.com and every month I post a summary of articles from the previous month of particular interest to readers of r-help. In case yo

[R] using index.treated/control

2015-01-08 Thread Maryam Yahiaoui-Doktor
Dear all, I have used the Matching package to obtain a matched object x_match. From this I would like to identify which two cases in my original data frame were matched. I see the valued in mdata & in index.treated and index.control, but the matched valued in mdata do not match the values I get

Re: [R] i need help for var.test()

2015-01-08 Thread Gerrit Eichner
Hello, Sait, take, for example, a look at bartlett.test(), but keep in mind that Bartlett's test is quite sensitive to deviations from normality. Levene's test (e.g., in leveneTest() in package car) is said to be more robust. Hth -- Gerrit On Thu, 8 Jan 2015, sait k wrote: Dear Sir or M

Re: [R] i need help for var.test()

2015-01-08 Thread Marc Schwartz
> On Jan 8, 2015, at 5:12 AM, sait k wrote: > > Dear Sir or Madam, > i want to use the var.test() (f.test()) for n samples. > But in R the var.test() can only used for variances of two samples. In the > intruductions stands: Performs an F test to compare the variances of two > samples from no

[R] i need help for var.test()

2015-01-08 Thread sait k
Dear Sir or Madam, i want to use the var.test() (f.test()) for n samples. But in R the var.test() can only used for variances of two samples. In the intruductions stands: Performs an F test to compare the variances of two samples from normal populations. I need a variance test for n samples. It

[R] Overlapping Matrices By column correlation

2015-01-08 Thread Karim Mezhoud
Mantel test is interesting but it can't displays wish columns are similar. Here an example: M gene1 gene2 gene3 gene4 gene5 Sample1 241 72 Sample2 0 NA2.3 19 Sampl

Re: [R] Getting column names in the titles of histograms generated automatically

2015-01-08 Thread Rui Barradas
Hello, You could also try function multi.hist() in package psych. Hope this helps, Rui Barradas Em 08-01-2015 03:36, John Sorkin escreveu: Richard, WOW! A totally new way to think about loop indices, many, many, thanks!John John David Sorkin M.D., Ph.D. Professor of Medicine Chief, Biostat