Re: [R] X11 installation problem Linux X86_64

2005-01-18 Thread Prof Brian Ripley
On Mon, 17 Jan 2005, Robert Nelson wrote: Hello all, This is my first time posting, so forgive my ignorance. I've searched high and low but haven't come across the specific answer to my questions. I don't think we have seen such a misconfigured system before. What is `Linux' here? configure

Re: [R] discretization

2005-01-18 Thread Uwe Ligges
Weiwei Shi wrote: Hi, there: I have a variable whose distribution is far from normal and its qqnorm is S-shape, like a logisitic plot. My purpose is to discretize it into 2 or 3 classes. (basically, a transformation from quantative to discrete). I am wondering if there is a good way to do that. If

Re: [R] pairs: altering pch options on upper and lower panel of pairwise scatter plots

2005-01-18 Thread Uwe Ligges
Paul Hewson wrote: Hello, I can't figure out how to use the upper.panel and lower.panel options in pairs to alter the label options for either panel independently of the other. I would like to be able to show the pairwise scatter plots for the data as they are (a vanilla pairs plot?) but

Re: [R] Weighted least squares

2005-01-18 Thread Prof Brian Ripley
On Tue, 18 Jan 2005, Prof Brian Ripley wrote: On Mon, 17 Jan 2005, Ming Hsu wrote: I would like to run a weighted least squares with the the weighting matrix W. This is generalized not weighted least squares if W really is a matrix and not a vector of case-by-case weights. I ran the following

RE: [R] how to produce 2-d color plots in R

2005-01-18 Thread Martin Maechler
AndyL == Liaw, Andy [EMAIL PROTECTED] on Fri, 14 Jan 2005 13:00:03 -0500 writes: AndyL Cut and paste the following function (to be in next AndyL release of R, I believe) that's correct; it's in current R-devel (for which snapshots are available from CRAN). AndyL and type:

[R] Re: Skewness test

2005-01-18 Thread Vito Ricci
Hi Christian, see this links for skewness tests: http://www.xycoon.com/skewness_test_1.htm http://www.xycoon.com/skewness_test_2.htm http://www.xycoon.com/skewness_small_sample_test_1.htm http://www.xycoon.com/skewness_small_sample_test_2.htm there you can find some help to solve your problem.

[R] embedding fonts in eps files

2005-01-18 Thread Rudi Alberts
Hi, I have to make eps files with fonts embedded. I use the following postscript command: postscript(fig3a.eps, width = 5.2756, height = 7.27, pointsize = 7,horizontal = FALSE, onefile = FALSE, paper = special,family = Times) plot(...) dev.off() Are fonts automatically embedded in this

[R] Possible problem with pbirthday

2005-01-18 Thread A.G. Lynch
Dear all I have come across the following problem with pbirthday: (I have observed this in R 1.9.1 and R 2.0.1 on the Windows OS) As I understand it, pbirthday(n,c,k) gives the approximate probability that we see a class with k coicident people in it when n people are sorted into c classes. so

Re: [R] embedding fonts in eps files

2005-01-18 Thread Prof Brian Ripley
On Tue, 18 Jan 2005, Rudi Alberts wrote: I have to make eps files with fonts embedded. I use the following postscript command: postscript(fig3a.eps, width = 5.2756, height = 7.27, pointsize = 7,horizontal = FALSE, onefile = FALSE, paper = special,family = Times) plot(...) dev.off() Are fonts

[R] How can i fit mixed effect model in a logistic regression?

2005-01-18 Thread Yisrael Parmet
__ R-help@stat.math.ethz.ch 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] standardised residuals using standard deviation

2005-01-18 Thread Rado Bonk
Dear R-users, I need to standardize residuals using standard deviation. Is the 'stdres' the proper function? Beside other methods (for standardization and normalization), are there some approaches how to standardize using standard deviation? Here is the sample of my residuals: Zres040

RE: [R] embedding fonts in eps files

2005-01-18 Thread Ted Harding
On 18-Jan-05 Rudi Alberts wrote: Hi, I have to make eps files with fonts embedded. I use the following postscript command: postscript(fig3a.eps, width = 5.2756, height = 7.27, pointsize = 7,horizontal = FALSE, onefile = FALSE, paper = special,family = Times) plot(...) dev.off()

Re: [R] Time line plot in R?

2005-01-18 Thread Jim Lemon
Sander Oom wrote: Dear R users, In order to illustrate the possible effects of events on variables plotted against time, I would like plot a time line of events along side the plot of the variables. The x-axis should be some time unit; the y-axis should be the variable of interest; the

[R] Interpretation of randomForest results

2005-01-18 Thread luk
I got the following results when I run radomForest with below commands: qair - read.table(train10.dat, header = T) oz.rf - randomForest(LESION ~ ., data = qair, ntree = 220, importance = TRUE) print(oz.rf) Call: randomForest.formula(x = LESION ~ ., data = qair, ntree = 220, importance =

Re: [R] embedding fonts in eps files

2005-01-18 Thread Simon Wood
Do you ultimately need the eps files themselves with embedded fonts, or is that you need to include them in a document that that has all fonts embedded? If it's the latter then you may find: http://mpa.itc.it/markus/highres_pdf.html useful. The trick seems to be to substitute the standard

RE: [R] Interpretation of randomForest results

2005-01-18 Thread Liaw, Andy
From: luk I got the following results when I run radomForest with below commands: qair - read.table(train10.dat, header = T) oz.rf - randomForest(LESION ~ ., data = qair, ntree = 220, importance = TRUE) print(oz.rf) Call: randomForest.formula(x = LESION ~ ., data = qair, ntree

Re: [R] Time line plot in R?

2005-01-18 Thread Sander Oom
Jim, Brilliant! Thought someone might have figured it out already. Now we just need a gallery to show off this graph! One little thing: the par(mar=6,6,4,2) gives an error: 'Error in par(args) : parameter mar has the wrong length' Any suggestions? Code below includes fake labels for testing.

[R] Build problem with R-1.4.1 on AM64/Linux

2005-01-18 Thread Sivakumar Ramagopal
Hi, I get the following errors while building R-1.4.1 on AMD64/Linux (SuSE 9.1). R-2.0.1 compiles fine though. I'm building R-1.4.1 because I need to install SNet (available at http://cm.bell-labs.com/cm/ms/departments/sia/InternetTraffic/S-Net/SNet_1.0.zip). The errors I get are: In file

RE: [R] Build problem with R-1.4.1 on AM64/Linux

2005-01-18 Thread Liaw, Andy
When R-1.4.1 was released, AMD64 did not exist yet. You are likely to do better by trying to update the package to the current version of R. The first step of that is to change all the `_' for assignment to `-' in the R code. Some functions might be deprecated, and if so need to be replaced. It

Re: [R] Time line plot in R?

2005-01-18 Thread Uwe Ligges
Sander Oom wrote: Jim, Brilliant! Thought someone might have figured it out already. Now we just need a gallery to show off this graph! One little thing: the par(mar=6,6,4,2) gives an error: par(mar=c(6,6,4,2)) Uwe Ligges 'Error in par(args) : parameter mar has the wrong length' Any

Re: [R] lme confusion

2005-01-18 Thread Douglas Bates
Ming Hsu wrote: Hi, this is my first time using the nlme package, and I ran into the following puzzling problem. I estimated a mixed effects model using lme, once using groupedData, once explicitly stating the equations. I had the following outputs. All the coefficients were similar, but they're

Re: [R] Build problem with R-1.4.1 on AM64/Linux

2005-01-18 Thread Peter Dalgaard
Liaw, Andy [EMAIL PROTECTED] writes: When R-1.4.1 was released, AMD64 did not exist yet. You are likely to do better by trying to update the package to the current version of R. The first step of that is to change all the `_' for assignment to `-' in the R code. Some functions might be

[R] Attach for S4 objects?

2005-01-18 Thread F.Tusell
When passing a list as an argument to a function, I find it convenient to attach it in the first line of th function code, then refer to the components as A, B, etc. rather than as list$A, list$B, etc. If I pass a S4 class object, is there a way to attach it, or do I have to refer to the slots as

[R] Function to modify existing data.frame

2005-01-18 Thread Peter Muhlberger
I'm used to statistical languages, such as Stata, in which it's trivial to pass a list of variables to a function have that function modify those variables in the existing dataset rather than create copies of the variables or having to replace the entire dataset to change a few variables. In R,

Re: [R] embedding fonts in eps files

2005-01-18 Thread Uwe Ligges
To clarify why people might want to embed fonts, I'd like to give an example: After I submitted my book the first time, the printing house asked me explicitly to embed *all* fonts in graphics, or they would not be able to print from a pdf file (generated from PostScript by certain styles for

Re: [R] Function to modify existing data.frame

2005-01-18 Thread Marc Schwartz
On Tue, 2005-01-18 at 10:18 -0500, Peter Muhlberger wrote: I'm used to statistical languages, such as Stata, in which it's trivial to pass a list of variables to a function have that function modify those variables in the existing dataset rather than create copies of the variables or having

[R] background color for plotting symbols in 'matplot'

2005-01-18 Thread joerg van den hoff
something like matplot2(matrix(1:6,3,2),matrix(7:12,3,2),pch=21,bg=c(2,3),type='b') does not yield the expected (at least by me) result: only the points on the first line get (successively) background colors for the plotting symbols, the second line gets no background color at all for its

[R] a question about linear mixed model in R

2005-01-18 Thread Chung Chang
Dear all, I have a somewhat unusual linear mixed model that I can't seem to code in lme. It's only unusual in that one random effect is applied only to some of the observations (I have an indicator variable that specifies which observations have this random effect). The model is: X_hijk =

Re: [R] Function to modify existing data.frame

2005-01-18 Thread Jan T. Kim
On Tue, Jan 18, 2005 at 09:31:33AM -0600, Marc Schwartz wrote: On Tue, 2005-01-18 at 10:18 -0500, Peter Muhlberger wrote: I'm used to statistical languages, such as Stata, in which it's trivial to pass a list of variables to a function have that function modify those variables in the

[R] Panel methods, implied var/cov structure

2005-01-18 Thread Tobias Muhlhofer
Hi! I have a (fairly narrow and long) panel dataset of returns across three portfolios over 100-odd time-series observations. I have reason to believe that there is heteroskedasticity in the error terms, but that this heteroskedasticity is only through time, i.e. that the three portfolios have

[R] chi-square and error bars?

2005-01-18 Thread Dan Bolser
This may sound crazy but... I have data like this... results.matrix [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [1,] 949 932 11 26 2076 10 5 0 3 [2,] 1233 124 24 35 58 57 17 21 31191121 Which is the result

RE: [R] Attach for S4 objects?

2005-01-18 Thread McGehee, Robert
Certainly this _is_ possible. However, there are no built-in functions to do just this (that I know of). Here's a function that attaches like you say (but still makes a local copy) attachslot - function(x) { xname - substitute(x) sl - names(getSlots(class(x))) slotnames - paste(sl,

Re: [R] chi-square and error bars?

2005-01-18 Thread Achim Zeileis
On Tue, 18 Jan 2005 17:16:46 + (GMT) Dan Bolser wrote: This may sound crazy but... I have data like this... results.matrix [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [1,] 949 932 11 26 2076 10 5 0 3 [2,] 1233 124 24

Re: [R] Function to modify existing data.frame

2005-01-18 Thread Thomas Lumley
On Tue, 18 Jan 2005, Peter Muhlberger wrote: I'm used to statistical languages, such as Stata, in which it's trivial to pass a list of variables to a function have that function modify those variables in the existing dataset rather than create copies of the variables or having to replace the

[R] Off topic - Combine results of two testing procedures

2005-01-18 Thread Stephane Dray
Hello list, I have a question not directly linked to R, I have googling during one day but did not find any satisfying answer. Perhaps some people of the list could give me some advices. Here is my problem, I compute a statistic which measure the link between three tables X (n,p), Y(p,m) and

Re: [R] embedding fonts in eps files

2005-01-18 Thread Sander Oom
Rudi, If it turns out that fonts can not be embedded with R, then one option is to import/export the file through CorelDraw (or other vector drawing software equivalent). The 'export to eps' function in CorelDraw provides an option to embed all the fonts! It requires manual labour, but it will

Re: [R] Time line plot in R? -- one more problem

2005-01-18 Thread Sander Oom
Jim, Inspired by the question about font embedding, I plotted the time line script to a postscript file. To my disappointment, I can not make the time line appear properly on the postscript graph. It seems that the device does not know I have plotted something new below the original graph!?

Re: [R] embedding fonts in eps files

2005-01-18 Thread Prof Brian Ripley
On Tue, 18 Jan 2005, Uwe Ligges wrote: To clarify why people might want to embed fonts, I'd like to give an example: After I submitted my book the first time, the printing house asked me explicitly to embed *all* fonts in graphics, or they would not be able to print from a pdf file (generated

RE: [R] help wanted using R in a classroom

2005-01-18 Thread bogdan romocea
It appears you wouldn't get much improvement at all even if the 2nd CPU were used at 100%. Five R sessions can easily overwhelm one CPU. I think you need (a lot) more CPUs than 2 to solve your problem. Possible solutions: 1. Install R on each eMac. Since you have 40 of them, you might want to put

RE: [R] help wanted using R in a classroom

2005-01-18 Thread Liaw, Andy
From: bogdan romocea It appears you wouldn't get much improvement at all even if the 2nd CPU were used at 100%. Five R sessions can easily overwhelm one CPU. I think you need (a lot) more CPUs than 2 to solve your problem. Possible solutions: 1. Install R on each eMac. Since you have

Re: [R] Function to modify existing data.frame

2005-01-18 Thread Jan T. Kim
On Tue, Jan 18, 2005 at 09:35:26AM -0800, Thomas Lumley wrote: On Tue, 18 Jan 2005, Peter Muhlberger wrote: I'm used to statistical languages, such as Stata, in which it's trivial to pass a list of variables to a function have that function modify those variables in the existing dataset

[R] Dropping a digit with scan() on a connection

2005-01-18 Thread Tim Howard
R gurus, My use of scan() seems to be dropping the first digit of sequential scans on a connection. It looks like it happens only within a line: cat(TITLE extra line, 235 335 535 735, 115 135 175, file=ex.data, sep=\n) cn.x - file(ex.data, open=r) a - scan(cn.x, skip=1, n=2) Read 2 items a

[R] Randoms interactions in lme

2005-01-18 Thread Martin Julien
In lme, what's the difference between random = ~ 1 | x / y and random = ~ y | x ? Thanks Julien [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] address statistics

2005-01-18 Thread [EMAIL PROTECTED]
Guten Tag Im Rahmen einer Studienarbeit an der Hochschule fuer Technik in Rapperswil (HSR), zum Thema SPAM, haben wir Ihre E-Mail Adresse auf einer CD-ROM gefunden welche bei EBay gehandelt wird (Adresshandel). Wir haben insbesondere alle E-Mail Adressen von Schweizer Unis und ETHs

RE: [R] Randoms interactions in lme

2005-01-18 Thread Berton Gunter
Julien: Big difference! You need to spend time with Bates and Pinheiro to understand the concepts, but in brief: ~1|x/y means that x and y are grouping variables with y nested within x and a different random offset for each x and y within x. ~y|x means that x is a grouping variable and y is a

[R] Data Simulation in R

2005-01-18 Thread Doran, Harold
Dear List: A few weeks ago I posted some questions regarding data simulation and received some very helpful comments, thank you. I have modified my code accordingly and have made some progress. However, I now am facing a new challenge along similar lines. I am attempting to simulate 250

[R] a question about linear mixed model in R

2005-01-18 Thread Peter Muhlberger
Hi Chung Cheng: This seems related to a problem I'm having in some data of mine as well. I'm new to R (played w/ it some a year ago) to lme modeling, so take this w/ a grain of salt, but here are some thoughts: In my problem, D would be an indicator of whether a subject was in the control

[R] signif() generic

2005-01-18 Thread ockham
Dear list, I'm trying to write a class for Gaussian error propagation of measured values and their (estimated) errors, setClass(sec, representation(val=numeric, err=numeric)) I've already successfully implemented basic arithmetics using mostly the Arith group generics. But I'm running into

RE: [R] signif() generic

2005-01-18 Thread McGehee, Robert
The method below looks for arguments of sec and numeric. Sounds like you want to pass in sec and missing (the class of missing data) and get a default behavior. So in addition to the method you already wrote, try this one as well: setMethod(signif, signature(x = sec, digits = missing),

RE: [R] how to call R in delphi?

2005-01-18 Thread Mulholland, Tom
Try searching this list for delphi. This was the first post I found. You may find it helpful. http://finzi.psych.upenn.edu/R/Rhelp02a/archive/19154.html Tom -Original Message- From: YiYao_Jiang [mailto:[EMAIL PROTECTED] Sent: Wednesday, 19 January 2005 10:12 AM To:

[R] importing files, columns invade next column

2005-01-18 Thread Tiago R Magalhaes
Dear R-listers: I want to import a reasonably big file into a table. (15797 x 257 columns). The file is tab delimited with NA in every empty space. I have reproduced what I have used as my read.table instruction. I have read the R-dataImportExport FAQ and still couldn't solve my problem. (I

[R] recursive penalized regression

2005-01-18 Thread Vadim Ogranovich
Hi, Few days ago I posted a question to r-sig-finance, which I thought would be an easy one. To my surprise I have received no replies, which makes me think that it is either harder than I thought, or that it makes no sense. I am reposting the message (with some modifications) on the R-help in a

Re: [R] importing files, columns invade next column

2005-01-18 Thread Marc Schwartz
On Wed, 2005-01-19 at 04:25 +, Tiago R Magalhaes wrote: Dear R-listers: I want to import a reasonably big file into a table. (15797 x 257 columns). The file is tab delimited with NA in every empty space. Tiago, Have you tried to use read.table() explicitly defining the field