[R] interaction plot in R for factorial experiment

2009-01-31 Thread Swanton0822
hi, i did a 2^4 factorial experiment, and i got the following result: Effect t p (computer) p -484.52494328125 -5.64590926071629 <0.0001 d -450.67095078125 -5.25142684568607 <0.0001 pd 438.80508046875 5.

[R] F-test

2009-01-08 Thread Swanton0822
hi, i was wondering if i have been giving ANOVA table in R: Response:MPG DF Sum SqMean Sq F vaule Pr(>F) Model 1 216.750216.7506.1272 0.04811* Model.Mixture4 167.44

[R] plotting graph in different device

2008-11-09 Thread Swanton0822
Hi, i try to plot my graph into different device using x11(), but when i do this comes up: > x11(print(plot(A5e$ECAB,A5e$EXPEND,type='p',main='Per capita expenditure > against economic + ability index without outliners',xlab='ECAB',ylab='EXPEND',xlim=c(0,150),ylim=c(150,400), + col='red',col.axi

Re: [R] grouping data together

2008-11-09 Thread Swanton0822
Hi, i have group all the data, but now if i would want to sum all the rank in each group, how can i do it? ie. i want to sum the rank in every group, not total. so there will be a sum of rank for month Jan,Feb,.Dec, therefore there will be total of 12 vaule of ranking sum. many thanks, -- Vie

Re: [R] grouping data together

2008-11-08 Thread Swanton0822
. http://www.nabble.com/file/p20392420/kew.dat kew.dat Hi, i did something wrong, with the data attach all i want is 12 groups for the months like this:(group 1=group Jan,..group12= group Dec) group 1 group 2 group 3.. group 12 and inside each group is the vaule of t

[R] grouping data together

2008-11-07 Thread Swanton0822
Hi. i have a data, and there is 3 columns, Month, Year and Total. and there is over 1000 rows for them because there is 87 years data for every month, so there is month from Jan-Dec, and year from 1900-1987, so i was wondering if i would want to make 12 groups (Jan,Feb...,Dec), and put each ye

Re: [R] use abline() for regression model in the plot

2008-11-04 Thread Swanton0822
Hey, it works exactly!thx man. But i have to write comment on what is the command i am using line by line, so i was wondering can you explain the command you use in words for me? many many thanks. -- View this message in context: http://www.nabble.com/use-abline%28%29-for-regression-model-in-th

[R] perform Kruskal-Wallis test without using the built-in command in R

2008-11-04 Thread Swanton0822
Hi, again i am stuck in my presentation, and i have never learn R before in my life but need this to be done, so please help me out for a favour: http://www.nabble.com/file/p20333155/kew.dat kew.dat run this in R and these comes up: Month Year Rain 1 Jan 1900 74.40 2

[R] use abline() for regression model in the plot

2008-11-04 Thread Swanton0822
http://www.nabble.com/file/p20332968/spe.dat spe.dat Hi, i have a problem in sorting out some command in R and i am really hoping some expert can help me out please! i have the spe.dat file which i upload here, and when u read into R u got something like this: A5 <- read.table('spe.dat' ,header