Re: [R] RODBC package not found (in English)

2015-04-20 Thread guillaume chaumet
Dear Xavier, Perhaps, you should read the faq: http://cran.r-project.org/doc/FAQ/R-FAQ.html And also "un livre en français sur R* : R pour les débutants *par Emmanuel Paradis ou *Introduction à R par *Julien Barnier" > install.packages("RODBC") Un dernier petit mot : Méfiez vous! La patience des

Re: [R] simulate an gradually increase of the number of subjects based on two variables

2012-03-13 Thread guillaume chaumet
,mean(y),sd(y))) simu[[i]]$x<-x simu[[i]]$y<-y } return(simu) } test=simu(x,y,60) lapply(test, function(x) cor.test(x$x,x$y)) As you could see, the correlation is disappearing with increasing N. Perhaps, a bootstrap with lm or cor.test could solve my problem.

[R] simulate an gradually increase of the number of subjects based on two variables

2012-03-13 Thread guillaume chaumet
Dear R list, I have a population with two groups. I want to simulate an gradually increase of the number of subjects for group 1 based on mean and sd of two variables (correlated). Bootstrap ? Sample ? Simulation ? ( I just search some clues. Thank you Guillaume [[alternative HTML versio

Re: [R] as.POSIXct month problem

2009-10-26 Thread guillaume chaumet
I am on Ubuntu Karmic. 2009/10/26 Peter Dalgaard > guillaume chaumet wrote: > >> Thank you for your quick response >> >> >> sessionInfo() >>> >> R version 2.9.2 (2009-08-24) >> x86_64-pc-linux-gnu >> >> locale: >> >> L

Re: [R] as.POSIXct month problem

2009-10-26 Thread guillaume chaumet
OLLATE=English_United States.1252;LC_CTYPE=English_United > States.1252;LC_MONETARY=English_United > States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > HTH, > Jorge &g

Re: [R] as.POSIXct month problem

2009-10-26 Thread guillaume chaumet
2 RC (2009-08-23 r49375) > i386-pc-mingw32 > > locale: > LC_COLLATE=English_United States.1252;LC_CTYPE=English_United > States.1252;LC_MONETARY=English_United > States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 > > attached base packages: > [1] stats graphics

[R] as.POSIXct month problem

2009-10-26 Thread guillaume chaumet
Hi everybody When I try example of strptime x <- c("1jan1960", "2jan1960", "31mar1960", "30jul1960") z <- strptime(x, "%d%b%Y") The result is; > z [1] NA NA NA NA I have got the same result with complete form of month but not with numeric form. Any idea? [[alternative HTML version dele

[R] building experimental paradigm with R as "Brainard/Pelli Psych Toolbox"

2008-07-09 Thread guillaume chaumet
Hi R users, I would known if any attempt of building psychological experimental paradigm with R as "Brainard/Pelli Psych Toolbox" on Matlab or e-prime was done. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://st

[R] lme equivalent of formula aov

2008-03-27 Thread guillaume chaumet
Hi R people, In lme package, I'm searching to find equivalent formula of: >aov(frt~consistency*length*context+Error(subject/(consistency*length*context),data=agE1B4) I try this : >lme(fixed=frt~consistency*length*context, random=~1|subject, data=agE1B4) but I did not obtain same F value with anova

[R] aov within subject and contrasts

2008-03-10 Thread guillaume chaumet
Dear R list, again a newbie question here, so I wish I do not exasperated reader. This is example of my data.frame subject length consistency context acc frt 1 1200high scene_c 0.8181818 396.6642 2 2200high scene_c 1.000 595.7778 3

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread guillaume chaumet
Thierry and Ingo, Thanks for these smart responses. It works fine. Guillaume 2008/3/5, Ingo Michaelis <[EMAIL PROTECTED]>: > > > > ONKELINX, Thierry inbo.be> writes: > > > > > Guillaume, > > > > You'll have to add the appropriate scales. > > > > ggplot(data, aes(x,y,fill)) + geom_point() + scal

Re: [R] main title x title and y title with ggplot2

2008-03-05 Thread guillaume chaumet
th in what statistics say until you have carefully > considered what they do not say. ~William W. Watt > A statistical analysis, properly conducted, is a delicate dissection of > uncertainties, a surgery of suppositions. ~M.J.Moroney > > -----Oorspronkelijk bericht- > Van: [EM

[R] main title x title and y title with ggplot2

2008-03-04 Thread guillaume chaumet
Hi R people, I'm a R newbie and I'm trying to put main title, x title and y title in my graph with no success. Any idea? I'm sorry for this newbie question.. Guillaume [[alternative HTML version deleted]] __ R-help@r-project.org mailing list ht

[R] anova repeated measure

2008-02-26 Thread guillaume chaumet
Dear R people, I'm new user of R and I'm trying to do a Anova with 3 different tests (intra subject), 6 times of measures (intra subject) and 3 groups (inter subject). I want to obtain an Huynh-Feldt epsilon on accuracy with: >anova(lm(acc.t1~gr.dem),test="Spherical") for test 1 # gr.dem is my grou

[R] anova (repeated measure)

2008-02-25 Thread guillaume chaumet
Hi R people, I'm trying to do a Anova with 3 different tests (intra subject), 6 times of measures (intra subject) and 3 groups (inter subject). I want to obtain an Huynh-Feldt epsilon on accuracy with >anova(lm(acc.t1~gr.dem),test="Spherical") for test 1 # gr.dem is my group variable >anova(lm(acc.