Re: [R] glm help

2015-08-20 Thread Peter Langfelder
On Thu, Aug 20, 2015 at 10:04 PM, Bert Gunter wrote: >> I noticed you made two data-frames, ‘my4s' and ‘my4S'. The `my4S` was built >> with `cbind` which would create a matrix (probably a character matrix) >> rather than a data frame. > > False. There is a data.frame method for cbind that retur

Re: [R] glm help

2015-08-20 Thread Bert Gunter
Inline. Cheers, Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- Clifford Stoll On Thu, Aug 20, 2015 at 9:06 PM, David Winsemius wrote: > >> On Aug 19, 2015, at 8:54 AM, Joaquín Aldabe wrote: >> >> Dear All, I´m running a g

Re: [R] glm help

2015-08-20 Thread David Winsemius
> On Aug 19, 2015, at 8:54 AM, Joaquín Aldabe wrote: > > Dear All, I´m running a glm with poisson errors and have a doubt when > ploting the predicted values. One of my variables has a positive slope in > the summary output, but when I plot the predicted values on the original > plot it draws a

Re: [R] how to create contour lines on a 3D surface plot by persp3d from rgl package

2015-08-20 Thread Duncan Murdoch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 20/08/2015 5:20 PM, Aki Hoji wrote: > -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 > > HI, > > I created a 3D surface plot of 2D surface data (generated by kde2d) > by using persp3d from rlg as follows; > > > persp3d(dens3d, theta=50, phi=2

Re: [R] Newbie question: error message with install.packages

2015-08-20 Thread Peter Langfelder
>From an older post by Uwe Ligges: Anyway: R tried to download the package but got an html page, obviously, hence either the mirror you are using is corrupted or someone in between (like some proxy?) delivers html pages rather than packages... In other words, check your proxy/internet settings,

Re: [R] Newbie question: error message with install.packages

2015-08-20 Thread Peter Wicher
Many thanks. Yes, I am using the R.app GUI: [R.app GUI 1.66 (6996) x86_64-apple-darwin13.4.0] At startup, > getOption("repos") CRAN "@CRAN@" Then when attempting again to install RWeka I'm able to select the mirror, and after that the result is the same as yours: > getOption("repos")

[R] how to create contour lines on a 3D surface plot by persp3d from rgl package

2015-08-20 Thread Aki Hoji
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 HI, I created a 3D surface plot of 2D surface data (generated by kde2d) by using persp3d from rlg as follows; persp3d(dens3d, theta=50, phi=25, expand=0.75, col=color[zcol], ticktype="detailed",axes=TRUE) I would like to add contour

Re: [R] Output In R

2015-08-20 Thread S Ellison
> I have already tried options(max.print=99) but does not show the desired > result. > As posted above it want to share the outcome with the business owner where > there could be multiple entries. Then just print the multiple entries. See ?duplicated for finding them Otherwise, use things lik

Re: [R] CFI fit measure for EFA in semTools

2015-08-20 Thread Bert Gunter
ummm Have you tried reading the documentation for the summary method for the object returned by oblqRotate? It will tell you what its arguments should be. If you don't know what this means, then you need to go through an R tutorial to learn about (S3 or S4, don't know which) methods in R. Che

[R] CFI fit measure for EFA in semTools

2015-08-20 Thread Fritzsche, Eva
Hi @ all, i am trying to get fitMeasures (CFI) for an Exploratory Factor Analysis using R and I am still not able for the rotated version. I applied the package semTools My code is as follows: unrot01 <- efaUnrotate(rszK2[ , 73:93], nf=3, start=F) summary(unrot01) fitMeasures(unrot01) # for the

Re: [R] equivalent of repeated measures anova using lmer

2015-08-20 Thread Ben Bolker
asudar gmail.com> writes: > > I am trying to run a linear mixed effects model similar to the 2*2*2 anova > design. My DV is reaction time and fixed factors are time (pre vs. > post:within-subject), condition (congruent vs. incongruent: within subject) > and stimulation (vertex vs. DLPFC: between