Re: [R] Syntax error in using Anova (car package)

2015-11-25 Thread Bettina Gruen
Dear John, thanks for the hint. This issue should be corrected now. Best, Bettina On 11/25/2015 07:42 PM, Fox, John wrote: Dear David, Thanks for the correction. I copied the link from the R Journal website at , so I guess they need to fi

Re: [R] R: RE: Syntax error in using Anova (car package)

2015-11-25 Thread Bert Gunter
At this point, it seem obvious to me that you would benefit by local statistical consulting, rather than further badgering on this list, as you seem confused by both the underlying statistical concepts and how they need to be handled in R/car. Pursuing your current course seems destined to lead to

[R] R: RE: Syntax error in using Anova (car package)

2015-11-25 Thread angelo.arc...@virgilio.it
Dear Prof. John Fox, thanks a lot for your answer. Do you mean that my data set should have 19 rows (one for each of the 19 subjects) and 144 columns (that is 72 trials * 2 dependent variables)? So should the dataframe look like this? Subject Stimulus_1.Centroid.repetition1 Stimulus_1.Ce

Re: [R] Syntax error in using Anova (car package)

2015-11-25 Thread Fox, John
Dear David, Thanks for the correction. I copied the link from the R Journal website at , so I guess they need to fix their .bib file. I'm cc'ing the R Journal editor. Best, John > -Original Message- > From: David Winsemius [mailt

[R] Digitize2d Error

2015-11-25 Thread Margarette Bayron Arcelay via R-help
Dear List, I have been trying to use the package geomorph...but every time i load the function digitized2d i get this error: > digitize2d("Bolivina_lowmani.jpg", nlandmarks=6, scale=NULL, "Bolivina_Practice.TPS", verbose=TRUE) Error in coords[1:nland, , ] : subscript out of bounds does somebody

Re: [R] Syntax error in using Anova (car package)

2015-11-25 Thread David Winsemius
> On Nov 25, 2015, at 9:23 AM, Fox, John wrote: > > Dear Angelo, > > I'm afraid that this is badly confused. To use Anova() for repeated measures, > the data must be in "wide" format, with one row per subject. To see how this > works, check out the OBrienKaiser example in ?Anova and ?OBrienKa

Re: [R] Syntax error in using Anova (car package)

2015-11-25 Thread Fox, John
Dear Angelo, I'm afraid that this is badly confused. To use Anova() for repeated measures, the data must be in "wide" format, with one row per subject. To see how this works, check out the OBrienKaiser example in ?Anova and ?OBrienKaiser, or for more detail, the R Journal paper at <{http://jou

Re: [R] Syntax error in using Anova (car package)

2015-11-25 Thread David Winsemius
> On Nov 25, 2015, at 8:30 AM, angelo.arc...@virgilio.it wrote: > > Dear list members, > I am getting an error while performing a repeated measures MANOVA using the > Anova function > of the "car" package. I want to apply it on the results of an experiment > involving 19 participants, > who w

[R] Syntax error in using Anova (car package)

2015-11-25 Thread angelo.arc...@virgilio.it
Dear list members, I am getting an error while performing a repeated measures MANOVA using the Anova function of the "car" package. I want to apply it on the results of an experiment involving 19 participants, who were subjected to 36 stimuli, each stimulus was repeated twice for a total of 72

Re: [R] Non-linear fit?

2015-11-25 Thread S Ellison
> -Original Message- > On 11/24/2015 09:32 PM, Judson wrote: > > I need to fit a sinusoidal curve to > > x-y data that exhibits a sinusoidal > > pattern. The curve will be: > > y = a*sin(w*x +p) ; > > where I need to get the best > > fit choice for the parameters > > a, w, and p. Co

Re: [R] Non-linear fit?

2015-11-25 Thread Ulises M. Alvarez
On 11/24/2015 09:32 PM, Judson wrote: I need to fit a sinusoidal curve to x-y data that exhibits a sinusoidal pattern. The curve will be: y = a*sin(w*x +p) ; where I need to get the best fit choice for the parameters a, w, and p. Could anyone suggest which package and routine I should use?

Re: [R] Returning a factor from vapply

2015-11-25 Thread Jeff Newmiller
Such manipulations are usually better performed in character data. Convert to factor only after the vector is complete. -- Sent from my phone. Please excuse my brevity. On November 25, 2015 3:49:24 AM PST, Axel Urbiz wrote: >Hello, > >I would like to return a factor from vapply, which looks

Re: [R] Probing a protein sequence alignment in R

2015-11-25 Thread Ulrich Bodenhofer
Hi Debra, As already noted by Boris, the right packages can be found in Bioconductor, namely Biostrings (for handling sets of sequences and pairwise alignments) and msa (for multiple alignments; a package I am maintaining). Your question does not yet clearly indicate to me whether pairwise or

Re: [R] could not load r package in mac

2015-11-25 Thread Fox, John
Dear Kristi, >From a subsequent message, you appear to have solved your problem, but whether >or not the mirror you're using is available, the command you posted won't >work. You need to put the package name in quotes: >install.packages("reshape2"), as you may have discovered. It's the object

[R] Returning a factor from vapply

2015-11-25 Thread Axel Urbiz
Hello, I would like to return a factor from vapply, which looks it cannot be done directly since a factor is typeof() numeric. So I’m not sure if the solution below is the standard approach to handle this. My concern is that the factor levels are mixed up in the results (as shown in the last l

Re: [R] could not load r package in mac

2015-11-25 Thread Jeff Newmiller
The usual issue is that the mirror is unavailable and you need to choose a different one. Another complication is the recent switch to preferring secure repositories, which only a minority of mirrors are currently supporting. To address that be sure to pick a mirror that has https protocol. --

Re: [R] could not load r package in mac

2015-11-25 Thread Rainer M Krug
Kristi Glover writes: > Hi R user, > > I was wondering why I could not load R packages such as reshape2 in mac. I > tried different ways but could not success. > > > here I what I got > > > Warning: unable to access index for repository > http://cran.parentingamerica.com/bin/macosx/mavericks/co

Re: [R] could not load r package in mac

2015-11-25 Thread phgrosjean
Have you tried a different mirror? If they all fail, also check your internet connection. PhG > On 25 Nov 2015, at 09:01, Kristi Glover wrote: > > Hi R user, > > I was wondering why I could not load R packages such as reshape2 in mac. I > tried different ways but could not success. > > >