[R] Difference in Monte Carlo calculation between chisq.test and fisher.test

2010-08-12 Thread highschool2005

Hello all,

I would like to know what the difference is between chisq.test and
fisher.test when using the Monte Carlo method with simulate.p.value=TRUE? 

Thank you
-- 
View this message in context: 
http://r.789695.n4.nabble.com/Difference-in-Monte-Carlo-calculation-between-chisq-test-and-fisher-test-tp2322494p2322494.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


[R] triangle.class pch per factor

2009-05-12 Thread HighSchool2005

Hello,

I am using triangle.class in ade4 package and a factor. I would like to use
this graphic parameter (pch) to set a different kind of point for each group
in my factor (lakes). I have tried pch=1:4, I guess it does what it is
supposed to do but not what I want. I can't use colors.

Thank you in advance, 
-- 
View this message in context: 
http://www.nabble.com/triangle.class-pch-per-factor-tp23502805p23502805.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] plot.lm cex.caption

2009-04-29 Thread HighSchool2005

Thank you very much again. Now I just need to find out how to update R on
Ubuntu with only aptitude available. haha! 


Martin Maechler-4 wrote:
 
 H == HighSchool2005  gemeaux...@yahoo.fr
 on Tue, 28 Apr 2009 06:29:07 -0700 (PDT) writes:
 
 H Hello dear R users,
 
 H My objective is to change the size of this graphic : plot(lm(a~b),
 4)
 H (Cook's distance)
 
 H I have found the help on the internet saying to change the size of
 a title
 H on a graphic plot(lm(a ~ b), 4), I should use the graphic parameter
 H cex.caption 
 H
 http://stat.ethz.ch/R-manual/R-patched/library/stats/html/plot.lm.html
 
 H But in my install of R, it answers cex.caption isn't a graphic
 parameter :
 H 5: cex.caption n'est pas un paramètre graphique in:
 plot.window(xlim,
 H ylim, log, asp, ...) 
 
 then your version of R must be severely  outdated.
 
 cex.caption was newly introduced for R 2.6.1; current R is R 2.9.0.
 
 == Upgrade your R!
 
 H In my R help, I noticed the cex.caption doesn't appear compared to
 the help
 H I found online.
 
[ . ]
 
 H Do you have a solution?
 
 yes, see above.
 
 H Thank you very much
 
 you're welcome.
 Martin Maechler, ETH Zurich
 
 __
 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.
 
 

-- 
View this message in context: 
http://www.nabble.com/plot.lm-cex.caption-tp23277200p23292749.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


[R] plot.lm cex.caption

2009-04-28 Thread HighSchool2005

Hello dear R users,

My objective is to change the size of this graphic : plot(lm(a~b), 4)
(Cook's distance)

I have found the help on the internet saying to change the size of a title
on a graphic plot(lm(a ~ b), 4), I should use the graphic parameter
cex.caption 
http://stat.ethz.ch/R-manual/R-patched/library/stats/html/plot.lm.html

But in my install of R, it answers cex.caption isn't a graphic parameter :
5: cex.caption n'est pas un paramètre graphique in: plot.window(xlim,
ylim, log, asp, ...) 

In my R help, I noticed the cex.caption doesn't appear compared to the help
I found online.

 ## S3 method for class 'lm':
 plot(x, which = c(1:3,5), 
  caption = c(Residuals vs Fitted, Normal Q-Q,
   Scale-Location, Cook's distance,
   Residuals vs Leverage, Cook's distance vs Leverage),
  panel = if(add.smooth) panel.smooth else points,
  sub.caption = NULL, main = ,
  ask = prod(par(mfcol))  length(which)  dev.interactive(),
  ...,
  id.n = 3, labels.id = names(residuals(x)), cex.id = 0.75,
  qqline = TRUE, cook.levels = c(0.5, 1.0),
  add.smooth = getOption(add.smooth), label.pos = c(4,2))

Do you have a solution?

Thank you very much
-- 
View this message in context: 
http://www.nabble.com/plot.lm-cex.caption-tp23277200p23277200.html
Sent from the R help mailing list archive at Nabble.com.

__
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.