Re: [R] R ANOVA gives diferent results than SPSS

2010-02-11 Thread Joe King
I have found a similar problem with the ANOVA function in R, I found the problem is when you specify a variable in SPSS as a random variable instead of fixed, and R treats all of the factors as fixed. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a li

Re: [R] Multiple missing values

2010-02-14 Thread Joe King
Gary King's Amelia package for R and a stand alone version does EM algorithm multiple imputation. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -Original Message- Fr

[R] opacity under dispersion command under plotrix

2009-10-30 Thread Joe King
Is there anyway to make the lines in the dispersion command come forward in a plot and allow the fill in the dispersion parameter be transparent so all of the lines I am using to note confidence intervals are shown? --- Joe King, M.A. Ph.D. Student

Re: [R] opacity under dispersion command under plotrix

2009-10-30 Thread Joe King
ow 0.092501362 low 0.048176412 low 0.023014862 low 0.010788438 low 0.005082446 low 0.002250877 low 0.001063545 Please forgive my poor posting manners. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Th

Re: [R] Frequency

2009-11-02 Thread Joe King
sorry, I forgot to send my reply to the list, I got to remember to hit reply all: So I set up a dummy matrix, v1,v2,v3,v4, an datamatrix v1 = c(5,3,4) v2 = c(6,4,6) v3 = c(9,7,10) v4 = c(10,10,18) datamatrix=c(v1,v2,v3,v4) then do sort(table(datamatrix)) Joe King 206-913-2912 j

Re: [R] problems with read.csv

2009-11-02 Thread Joe King
I use indata = read.csv(file.choose(),header=TRUE) of course you can specify your file. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -Original Message- From: r-help

Re: [R] Finding Largest(or smallest) values

2009-11-15 Thread Joe King
There are probably better ways but cant you subset each parameter? So create new variables for parameter 1, 2, ... and look at the summary data for those which will include a min and max for all variables. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who li

[R] Hmisc and Lattice question on gridlines

2009-11-19 Thread Joe King
I have been using lattice xyplot and am quite pleased, and I can use the type=c("b","g") to have it print gridlines into the page, yet if I want to have a line plot with points on it, how do I get the xYplot to print gridlines (I use Hmisc xYplot because of its bands method which allows plotting of

Re: [R] Do you keep an archive of "useful" R code? and if so - how?

2009-11-22 Thread Joe King
very soon it will grow exponentially as a good resource. (as you can tell some of the code I save includes old variable names instead of neutral ones, but easy enough to change). Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name

Re: [R] reshape question

2009-11-24 Thread Joe King
y91 40 20 y 1 > Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On

[R] layers in xYplot of Hmisc

2009-11-26 Thread Joe King
ciupper2<-y2+ci2 cilower2<-y2-ci2 xYplot(Cbind(y2,cilower2,ciupper2)~x2, method="filled bands",col.fill="light grey", type=c("b")) --- Joe King, M.A. Ph.D. Student University of Washington - Seattle 206-913-291

Re: [R] Create sequence given start and end vector

2009-12-12 Thread Joe King
Also what about c(seq(1,4,1),seq(10,15,1),seq(20,27,1)) Joe King j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-p

[R] Hmisc filled bands colors

2009-12-12 Thread Joe King
Hi all, i am still using the Hmisc package and I like the filled bands part, is there a way though to have different groups have different color of bands, maybe a lighter version of the color of the line that is used? --- Joe King, M.A. Ph.D. Student

[R] subtitle in Hmisc xYplot

2009-12-14 Thread Joe King
sub='subtitle') I get an error saying subscript out of bounds, any help? --- Joe King, M.A. Ph.D. Student University of Washington - Seattle 206-913-2912 j...@joepking.com --- "Never throughout history has a man who lived a life of

Re: [R] "Object is not a matrix" Error

2009-12-20 Thread Joe King
When you imported did you not import the headers? Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -Original Message- From: r-help-boun...@r-project.org [mailto:r-help

Re: [R] Signif. codes

2009-12-20 Thread Joe King
t), that's less than .05, so its not unethical to say p < .05, but it sounds like you need to understand the regression model a little better. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering

Re: [R] Signif. codes

2009-12-20 Thread Joe King
No, so the probability means that's the probability of getting that data by chance, so a p-value of .9997 means there is a .9997 probability that the data could be acquired by chance. This is a very simplistic view and you should study the regression model better. Joe King 206-913-29

Re: [R] Is SEM package of R suitable for sem analysis

2009-12-26 Thread Joe King
n the community to create packages or develop existing packages equal to or greater than commercial software! LONG LIVE R :) Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -O

Re: [R] Is SEM package of R suitable for sem analysis

2009-12-26 Thread Joe King
the R community. Joe King 206-913-2912 j...@joepking.com "Never throughout history has a man who lived a life of ease left a name worth remembering." --Theodore Roosevelt -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf O

[R] anova help

2009-02-15 Thread Joe King
as a random factor or change it to where it does the right model fitting? I am using the lm command instead of glm. I am new to R so this might seem basic. Joe King, M.A. <mailto:j...@joepking.com> j...@joepking.com "Never give in, never give in, never; never; never; never - in not

Re: [R] anova help

2009-02-15 Thread Joe King
trying to use the data I am running in SPSS to learn R. I am also in an R class but we are not going to learn ANOVA. Joe King, M.A. <mailto:j...@joepking.com> j...@joepking.com "Never give in, never give in, never; never; never; never - in nothing, great or small, large or petty - ne