Re: [R] newbie question about beta distribution

2005-03-20 Thread Gabor Grothendieck
faisal99 at inf.its-sby.edu writes: : : hi everyone, : I'm still a newbie in statistics, : : I have a question about beta distribution, that is, : : On the ref/tutorials I've found on the net, why beta distribution always : have value p(x) more than 1? Consider the uniform distribution on

[R] Graphics (for goodness of fit) Question

2005-03-20 Thread Mohammad Ehsanul Karim
Dear List, Suppose, I have some observed and expected frequencies, such as following. I need to draw a graph where plots of observed and expected frequencies are merged into one. m - c(1,2,3,4,5,6,7,8,9,10,12,13,17) k - c(1, 2, 3, 4, 5, 6, 7, 8,

Re: [R] Non linear modeling

2005-03-20 Thread Spencer Graves
Another question: What do you know or assume about the distribution of e? If (y-x) is always positive, the survival package, especially the survreg function, might help you. For this, I found especially helpful the discussion of this in Venables and Ripley (2002) Modern Applied

[R] Using locator() to digitise

2005-03-20 Thread Ted Harding
Hi Folks, I'm contemplating using locator() to digitise external graphics. To set context, I would be using X11 display on Linux. To pre-empt the obvious comment: I've found on the R site the suggestion to use the 'pixmap' package. I've tried this, and it works; but it involves building a big R

[R] Interaction term in anova - how it should be written in a manuscript table?

2005-03-20 Thread Witold Eryk Wolski
Dear Rgurus, Interaction terms in the linear models function lm are specified by the colon : eg: x ~ a + b + a:b a shortcut for the above is: x ~ a*b the output if calling anova on the lm object will be the same in both cases a b a:b ... Resdiuals ... What I am wondering is how the

Re: [R] Interaction term in anova - how it should be written in a manuscript table?

2005-03-20 Thread Spencer Graves
Hi, Eryk: What is the target journal(s) / audience(s) for your work? Can you find recent publications in that field and copy them? hope this helps. spencer graves Witold Eryk Wolski wrote: Dear Rgurus, Interaction terms in the linear models function lm are specified by the colon

RE: [R] Interaction term in anova - how it should be written in a manuscript table?

2005-03-20 Thread Liaw, Andy
I'd suggest a $\times$ b, as you'd find in most stat textbook. Andy From: Witold Eryk Wolski Dear Rgurus, Interaction terms in the linear models function lm are specified by the colon : eg: x ~ a + b + a:b a shortcut for the above is: x ~ a*b the output if calling anova on

RE: [R] Interaction term in anova - how it should be written in a manuscript table?

2005-03-20 Thread Marc Schwartz
For a me too post, I agree with Andy's recommendation, which in turn is supported by How to Report Statistics in Medicine by Lang and Secic, ACP, 1997. There is an example table (8.2) on page 133. HTH, Marc Schwartz On Sun, 2005-03-20 at 15:44 -0500, Liaw, Andy wrote: I'd suggest a $\times$ b,

[R] Generating Interaction Factors (combinations of Data Frame columns)

2005-03-20 Thread Thomas Hopper
I'm starting to do a fair amount of DOE in my day job and need to generate full- and fractional-factorial designs. One of the things I'd like to do is generate all possible interaction effects, given the main effects. I've been searching through the documentation, packages and mail list

[R] install package on windows

2005-03-20 Thread Omar Lakkis
I created a package using R CMd build and I do have a .tar.gz fine now. The package was created on a Linux box. A co-worker needs to install this package on his Windows machine. How can he do that? When I tried to install it on his box from a cygwin shell using R CMD INSTALL perl complained that

[R] NaN

2005-03-20 Thread Brett Stansfield
Dear R What does NaN mean? I recently did a correlation on a batch of data for some reason it didn't like one column cor(sleep,use=complete.obs) BodyWt BrainWt SlowSleep ParaSleep TotalSleep BodyWt 1. 0.95584875 -0.3936373 -0.07488845 -0.3428373 BrainWt

[R] Force labelling of x-axis

2005-03-20 Thread Bill Kranec
Hi, I'm trying to do a box-whisker plot of two columns of a data frame, a list of category names in one column vs. some numerical values in the other. The plot itself works fine, but only a few points of the x-axis ( the category names ) are labelled. I think that this is because the category

Re: [R] Force labelling of x-axis

2005-03-20 Thread Jim Lemon
Bill Kranec wrote: Hi, I'm trying to do a box-whisker plot of two columns of a data frame, a list of category names in one column vs. some numerical values in the other. The plot itself works fine, but only a few points of the x-axis ( the category names ) are labelled. I think that this is

[R] anomalous result for wilcox.exact in exactRankTests

2005-03-20 Thread Roger Levy
Hi, In the exactRankTest package, I've become aware that you can get anomalous p-values (i.e., above 1) from the wilcox.exact method, as in: wilcox.exact(c(-0.6,0.8,-0.5)) Exact Wilcoxon signed rank test data: c(-0.6, 0.8, -0.5) V = 3, p-value = 1.25 alternative hypothesis:

Re: [R] Force labelling of x-axis

2005-03-20 Thread Renaud Lancelot
Bill Kranec a écrit : Hi, I'm trying to do a box-whisker plot of two columns of a data frame, a list of category names in one column vs. some numerical values in the other. The plot itself works fine, but only a few points of the x-axis ( the category names ) are labelled. I think that this is

[R] reading in vectors from text files

2005-03-20 Thread Rashmi Mathur
Hello, I am trying to read in a file of data using read.table(), in which the data in one column is vectors. The format of the file is as follows - FirstName LastNameno.Children children.ages Sally James 3 c(3,5,7) John

Re: [R] Sweave/margin

2005-03-20 Thread Alun Pope
You can also use longish lines with smaller text by the following device: \usepackage{fancyvrb} %in the preamble (ie before \begin{document}) \fvset{fontsize=\small}%I think this can be changed during the document if you want, but I like it in the preamble too. Maybe the fancyvrb

[R] [R-help] install problem

2005-03-20 Thread Tae-Young Goo
Hello. I've tried to install R to IBM AIX(v.5.1) machine. I've used compile options indicated by R-admin. Then, I met following error messages. /home/local/R_2.0.1/lib/R/bin/exec/R is unchanged /home/local/R_2.0.1/lib/R/modules/R_X11.so is unchanged

RE: [R] NaN

2005-03-20 Thread Mulholland, Tom
type ?NaN and the help will tell you. -Original Message- From: Brett Stansfield [mailto:[EMAIL PROTECTED] Sent: Monday, 21 March 2005 12:10 PM To: R help (E-mail) Subject: [R] NaN Dear R What does NaN mean? I recently did a correlation on a batch of data for some reason it

Re: [R] install package on windows

2005-03-20 Thread Uwe Ligges
Omar Lakkis wrote: I created a package using R CMd build and I do have a .tar.gz fine now. The package was created on a Linux box. A co-worker needs to install this package on his Windows machine. How can he do that? When I tried to install it on his box from a cygwin shell using R CMD INSTALL

Re: [R] reading in vectors from text files

2005-03-20 Thread Uwe Ligges
Rashmi Mathur wrote: Hello, I am trying to read in a file of data using read.table(), in which the data in one column is vectors. The format of the file is as follows - FirstName LastNameno.Children children.ages Sally James 3