Re: [R] ANOVA repeated measures and post-hoc

2012-08-16 Thread Henrik Singmann
0512097904 mail diego.buc...@unibo.it [[alternative HTML version deleted]] -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Universität Freiburg, Germany http://www.psychologie.uni-freiburg.de/Members/singmann __ R-help@r-project.org mai

Re: [R] Stopping all code execution when ANY error occurs (OR error handling without try/tryCatch)

2012-08-13 Thread Henrik Singmann
om/Stopping-all-code-execution-when-ANY-error-occurs-OR-error-handling-without-try-tryCatch-tp4640023p4640073.html Sent from the R help mailing list archive at Nabble.com. -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Universität Freiburg, Germany http://www.psychologie.uni-freiburg

Re: [R] Simple question about formulae in R!?

2012-08-10 Thread Henrik Singmann
__ 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. -- Dipl. Psych

Re: [R] warning message while plotting taylor diagram

2012-07-27 Thread Henrik Singmann
know, functions in plotrix are very well-kept and those errors (i.e., using mean on a data.frame) would not occur, thanks to your work. Better call ??taylor.diagram next time before prematurely posting. Best, Henrik Am 27.07.2012 11:59, schrieb Jim Lemon: On 07/26/2012 10:27 PM, Henrik Singmann

Re: [R] How can I access an element of a string?

2012-07-26 Thread Henrik Singmann
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. [[alternative HTML version deleted]] -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Universität F

Re: [R] warning message while plotting taylor diagram

2012-07-26 Thread Henrik Singmann
this message in context: http://r.789695.n4.nabble.com/warning-message-while-plotting-taylor-diagram-tp4637862.html Sent from the R help mailing list archive at Nabble.com. -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Universität Freiburg, Germany http://www.psychologie.uni-freibu

Re: [R] ERROR : cannot allocate vector of size (in MB & GB)

2012-07-24 Thread Henrik Singmann
-- My system Configuration is, Intel Core2 Duo speed : 3GHz 2 GB RAM OS: Windows-XP [ServicePack-3] ------- Any hope to solve this issue ? Thanks in advance, Antony. -- -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Universität Freiburg, Germany http://www.psychologie.uni

Re: [R] Regular Expression

2012-07-24 Thread Henrik Singmann
"* *curated$MONTH <- tmp* * * tmp <- uncurated$QUARTER *tmp <- gsub("[^-\\d]","",tmp,perl=TRUE)* *tmp[tmp=="-"] <- ""* *curated$QUARTER <- tmp* * * *but it's not quite working. I want to be able to isolate any digits

Re: [R] dump.frames and global environment

2012-07-24 Thread Henrik Singmann
same as browsing dum.frame objects. Cheers Jannis On 24.07.2012 16:25, Henrik Singmann wrote: Dear Jannis, is there any specific reason you use dump.frames instead of recover? As far as I see it, options(error = recover) would allow to access the global environment. And as ?recover tel

Re: [R] dump.frames and global environment

2012-07-24 Thread Henrik Singmann
ing a function around the lines of code but this would mean changing a lot of code. Any Ideas? Cheers Jannis > sessionInfo() R version 2.14.1 (2011-12-22) Platform: x86_64-unknown-linux-gnu (64-bit) -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Univers

Re: [R] First value in a row

2012-07-24 Thread Henrik Singmann
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. -- Dipl. Psych. Henrik Singm

Re: [R] First value in a row

2012-07-24 Thread Henrik Singmann
Hi Camilo, as you want to work on all rows, apply() is your friend. In the following, I use an anonymous function getting the first non-na value while looping over each row: dat <- read.table(text = " Lat Lon x1 x2 x3 0110 NA NA .1 0111 NA .2 .3 0112 .4 .5 .6 "

Re: [R] R Beginner : Loop and adding row to dataframe

2012-07-22 Thread Henrik Singmann
d use something to add rows, but I really don't find anything ? Somebody has any clue ? Thank you for your time and help! -- View this message in context: http://r.789695.n4.nabble.com/R-Beginner-Loop-and-adding-row-to-dataframe-tp4637360.html Sent from the R help mailing list archive at N

Re: [R] car::Anova - Can it be used for ANCOVA with repeated-measures factors.

2012-07-22 Thread Henrik Singmann
control -20 A 1 -1 B 11 contrasts(OBrienKaiser$gender) [,1] F1 M -1 Best, John On Sun, 22 Jul 2012 22:06:58 +0200 Henrik Singmann wrote: Dear John, thanks for your response. But if I simply ignore the unwanted effects, the estimates of the main

Re: [R] pvalue calculate

2012-07-22 Thread Henrik Singmann
29.64 sample estimates: mean of x 25.5 Best, Henrik Am 22.07.2012 21:37, schrieb Mary Kindall: I have a value a=300 observation (x) = sample(1:50) How to find a p-value from this. I need to show that "a" is different fom mean(x). Thanks -- Dipl. Psych. Henrik Singmann PhD Studen

Re: [R] car::Anova - Can it be used for ANCOVA with repeated-measures factors.

2012-07-22 Thread Henrik Singmann
1 0.813 1.1 8 2 0.56210 # treatment:gender:phase:hour 2 1.003 0.4 16 6 0.94434 # --- # Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 -- Dipl. Psych. Henrik Singmann PhD Student Albert-Ludwigs-Universität Freiburg http://www.psychologie.uni-f

[R] car::Anova - Can it be used for ANCOVA with repeated-measures factors.

2012-07-21 Thread Henrik Singmann
.5 8 2 0.80707 # treatment:phase:hour 2 0.893 0.3 16 6 0.97400 # gender:phase:hour1 0.700 0.6 8 2 0.76021 # age:phase:hour 1 0.813 1.1 8 2 0.56210 # treatment:gender:phase:hour 2 1.003