Re: [R] how to make the matrix as factors

2004-12-19 Thread Pierre BADY
Hi, The argument df of the function ‘mca’ requires only a data.frame (not matrix) containing only factors. # Example: ?data.frame library(MASS) ?mca # we construct the matrix. size - c(3,2,3,3,3,3,3,3,3) texture - c(2,3,2,2,2,2,2,2,2) leaf - cbind(size,texture) new.mca - mca(leaf) # Error

Re: [R] SAS or R software

2004-12-19 Thread Ted Harding
On 19-Dec-04 Frank E Harrell Jr wrote: Henric Nilsson wrote: How to fight this? I don't know. Right now I'm thinking, If you can beat 'em, join 'em and that the way of proving that `some other' software works is through having similar documents and tools as the commercial vendors.

Re: [R] Problems with Excel (was SAS or R software)

2004-12-19 Thread Patrick Burns
I'm in the process of researching problems with Excel. The references given by Tim and Marc seem to lead to discussions of most of the problems with statistical procedures in Excel. The executive summary is that if it is in Excel and it looks like statistics, then avoid it. However, there are

[R]

2004-12-19 Thread Fredrik Lundgren
test - please disregard Fredrik Lundgren __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Can I calculate the area of a polygon?

2004-12-19 Thread Andreas Kretschmer,,,
Hello, I'm verry new in R. My Problem: I have a PostgreSQL-Server with installed support for the R-Language. And now I have a table with a Polygon like this: test_db=# select * from geo where id=1; id | koerper +- 1 |

Re: [R] SAS or R software

2004-12-19 Thread Ted Harding
On 19-Dec-04 Tim Churches wrote: Shawn Way wrote: I've seen multiple comments about MS Excel's precision and accuracy. Can you please point me in the right direction in locating information about these? As always, Google is your friend, but see for example

Re: [R] erro in SVM (packsge e1071)

2004-12-19 Thread David Meyer
Joao: The reported error message is not from e1071. How *exactly* did you call svm()? As to the documentation of the nu parameter: yes, this is an omission, of course, nu is used in nu-regression as well; thanks for pointing this out. best, David - Hello, I am using SVM under e1071

Re: [R] SAS or R software

2004-12-19 Thread Frank E Harrell Jr
(Ted Harding) wrote: On 19-Dec-04 Tim Churches wrote: Shawn Way wrote: I've seen multiple comments about MS Excel's precision and accuracy. Can you please point me in the right direction in locating information about these? As always, Google is your friend, but see for example

Re: [R] how to make the matrix as factors

2004-12-19 Thread Gabor Grothendieck
Note that an easy way to get them all to be factors is to add the appropriate colClasses= argument to your read.table call: leaf - read.table(...whatever..., colClasses = factor) mca(leaf) See ?read.table for more about the colClasses= argument. Pierre BADY pierre.bady at univ-lyon1.fr

RE: [R] Can I calculate the area of a polygon?

2004-12-19 Thread Ted Harding
On 19-Dec-04 Andreas Kretschmer,,, wrote: Hello, I'm verry new in R. Welcome! My Problem: I have a PostgreSQL-Server with installed support for the R-Language. And now I have a table with a Polygon like this: test_db=# select * from geo where id=1; id | koerper

[R] Different graph type can coexisti??

2004-12-19 Thread Landini Massimiliano
Please consider a data frame A B C D 1 4 5 0 2 3 2 75 3 4 1 84 4 5 1 90 5 3 0 100 Is there a way to plot column B and C as barplot *and* D as line on the same graph?? R-2.0.1 powered by

Re: [R] Can I calculate the area of a polygon?

2004-12-19 Thread Andreas Kretschmer,,,
am Sun, dem 19.12.2004, um 13:40:32 - mailte Ted Harding folgendes: Not sure what you mean by the installed plr - Language, but for The Database-System PostgreSQL is ready to extend with external features. As example: pl/r is a procedural language. So can I share data between the database

[R] limma, FDR, and p.adjust

2004-12-19 Thread Kimpel, Mark W
I am posting this to both R and BioC communities because I believe there is a lot of confusion on this topic in both communities (having searched the mail archives of both) and I am hoping that someone will have information that can be shared with both communities. I have seen countless questions

RE: [R] Sums of sq in car package Anova function

2004-12-19 Thread John Fox
Dear Karla, I suggested last night that you send me further information, but decided this morning to try out a reproducible example of my own: set.seed(12345) A - factor(sample(c(a1, a2, a3), 100, replace=TRUE)) B - factor(sample(c(b1, b2), 100, replace=TRUE)) C - factor(sample(c(c1, c2,

Re: [R] Different graph type can coexisti??

2004-12-19 Thread Anon.
Landini Massimiliano wrote: Please consider a data frame A B C D 1 4 5 0 2 3 2 75 3 4 1 84 4 5 1 90 5 3 0 100 Is there a way to plot column B and C as barplot *and* D as line on the same

Re: [R] Sums of sq in car package Anova function

2004-12-19 Thread Karla Sartor
John, Thank very much for your help. I think that I have figured out my problem. The levels of one of my factors are 1 and 0. While this didn't matter with the 'anova()' function, is does seem to alter the results with the 'Anova' function. When I changed the levels to letters, the tables

[R] Using hexbin to Eliminate Indiscernible Points from a Plot

2004-12-19 Thread Steve Dutky
Dear all, I have installed hexbin 1.1-4 package and cobbled together the following function, cull, to eliminate xy points closer than a specified resolution. While it appears to reduce the congestion of points on a plot, I am surprised to see overlapping points remain. I would appreciate

[R] Plotting and Decluttering Text

2004-12-19 Thread Al Piszcz
Goal: adjust overlapping 'text' items in plot so they are legible I have located 'space' as one possible technique for decluttering text positions on a plot. I would rather not jitter the plot point, just the text nearby. Are there other techniques or functions available that declutters a plot

RE: [R] Sums of sq in car package Anova function

2004-12-19 Thread John Fox
Dear Karla, If indeed one of your factors has levels 0 and 1, that wouldn't matter at all, but if it is a numeric variable with values 0 and 1 (rather than a factor) then that would make a difference to the linear model that's fit to the data. The difference doesn't affect the sequential (type-I)

[R] Homogeneity of variance tests between more than 2 samples (long)

2004-12-19 Thread Landini Massimiliano
Dear all a couple of months ago i've found threads regard test that verify AnOVa assumption on homogeneity of variances. Prof. Ripley advice LDA / QDA procedures, many books (and many proprietary programs) advice Hartley's F_max, Cochran's minimum/maximum variance ratio (only balanced

[R] PBIB datataset

2004-12-19 Thread Ted Harding
I'm looking at Pinheiro Bates Mixed-Effects Models in S and S-PLUS at the moment. Several datasets are used, one of which is called PBIB (a partially balanced incomplete block design). All the other datasets can be found somewhere or other in R. However, I cannot locate PBIB, and it does not

RE: [R] PBIB datataset

2004-12-19 Thread Austin, Matt
Is it the PBIB dataset in the SASmixed package? I don't have my copy of the text at home. --Matt library(SASmixed) Loading required package: lme4 Attaching package 'lme4': The following object(s) are masked from package:nlme : Alfalfa Assay bdf BodyWeight Cefamandole

RE: [R] Homogeneity of variance tests between more than 2 sample

2004-12-19 Thread Ted Harding
On 19-Dec-04 Landini Massimiliano wrote: Dear all a couple of months ago i've found threads regard test that verify AnOVa assumption on homogeneity of variances. Prof. Ripley advice LDA / QDA procedures, many books (and many proprietary programs) advice Hartley's F_max, Cochran's

RE: [R] PBIB datataset

2004-12-19 Thread Ted Harding
Thanks, Austin, I think that probably clears it up (see below). On 19-Dec-04 Austin, Matt wrote: Is it the PBIB dataset in the SASmixed package? I don't have my copy of the text at home. --Matt library(SASmixed) Loading required package: lme4 Attaching package 'lme4': The

RE: [R] Confidence Intervals from Bootstrap Replications

2004-12-19 Thread Ashraf Chaudhary
Thank you for the response. The suggestions are helpful. I would look into the capabilities of the boot function. The solution in 8.3 is the last resort that I was trying to avoid. Regards, Ashraf -Original Message- From: Berton Gunter [mailto:[EMAIL PROTECTED] Sent: Friday, December 17,

Re: [R] Homogeneity of variance tests between more than 2 sample

2004-12-19 Thread Peter Dalgaard
(Ted Harding) [EMAIL PROTECTED] writes: For non-normal data, there's something of a question as to what is meant (or, perhaps more accurately, what is intended to be meant) by homogeneity of variance, as a test preliminary to an analysis of variance. Yes... If you use the test as a

[R] Re: main() in libR? only in 1.9

2004-12-19 Thread Ross Boylan
On Wed, 2004-12-15 at 12:05, Ross Boylan wrote: libR seems to include a main() function. Should it? I think I've tracked this down, and it seems to be specific to R 1.9. The 2.0 libR does not include main. I believe main is present in 1.9 because the link line for libR includes a reference to

[R] muliple plots with pairs (matrix of scatter plots)

2004-12-19 Thread Tiago R Magalhaes
I am trying to make a graph with 4 scatter matrixes plots and couldn't do it. While trying to find a solution for this I also came across the idea of giving different values to the same argument for each of the lower and upper function but couldn't do it. (Examplified below with the col

Re: [R] Homogeneity of variance tests between more than 2 sample

2004-12-19 Thread JRG
On 20 Dec 2004 at 1:11, Peter Dalgaard wrote: (Ted Harding) [EMAIL PROTECTED] writes: For non-normal data, there's something of a question as to what is meant (or, perhaps more accurately, what is intended to be meant) by homogeneity of variance, as a test preliminary to an analysis of

Re: [R] PBIB datataset

2004-12-19 Thread Douglas Bates
(Ted Harding) wrote: Thanks, Austin, I think that probably clears it up (see below). On 19-Dec-04 Austin, Matt wrote: Is it the PBIB dataset in the SASmixed package? I don't have my copy of the text at home. --Matt library(SASmixed) Loading required package: lme4 Attaching package 'lme4':

[R] Re: [BioC] limma, FDR, and p.adjust

2004-12-19 Thread Marcus Davy
Mark, there is a fdr website link via Yoav Benjamini's homepage which is: http://www.math.tau.ac.il/%7Eroee/index.htm On it you can download an S-Plus function (under the downloads link) which calculates the false discovery rate threshold alpha level using stepup, stepdown, dependence methods

[R] Sweave and LaTeX beamer class

2004-12-19 Thread Bernd Weiss
Hi, has anyonne experienced problems between the LaTeX beamer class and Sweave? The following code does not work properly: # \documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{ngerman} \begin{document} \frame{

Re: [R] Sweave and LaTeX beamer class

2004-12-19 Thread David Whiting
Hi Bernd, I think it is because you are trying to place a chunk of R code within a LaTeX command. I'm not sure that Sweave will be able to handle that. In situations analogous to this I process the R chunk earlier in my document and create an object that I then access in the LaTeX chunk using