Re: [R] How to store histogram plots

2003-03-10 Thread Ott Toomet
Dear Hong, Why do you want to save the histogram on the disk? Is it not enough just to draw them one-by-one and read in only the data necessary for the current one? However, you may consider: 1) look what the hist() returns. In particular, it has $counts component which you may use in

Re: [R] Creating a sequence of variables in a data frame

2003-03-10 Thread Jason Turner
On Mon, Mar 10, 2003 at 08:14:54AM +, [EMAIL PROTECTED] wrote: On Mon, 10 Mar 2003, Jason Turner wrote: for(jj in 1:5) { foo[[jj + 1]] [which(foo$old == jj)] - TRUE #note - same offset #from above } You don't need the which(), as

RE: [R] VIM Syntax Highlighting

2003-03-10 Thread Christophe Declercq
Hi, Fernando -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Fernando Henrique Ferraz Pereira da Rosa Envoyé : lundi 10 mars 2003 01:52 À : [EMAIL PROTECTED] Objet : [R] VIM Syntax Highlighting Has anyone got vim to have syntax highlighting

Re: [R] libR.so - not recognized

2003-03-10 Thread Duncan Temple Lang
Elena Zheleva wrote: i have a problem executing my code. it compiles just fine but during execution it gives me the following error: ./r_main: error while loading shared libraries: libR.so: canot open shared object file: No such file or directory in my makefile, i have specified:

RE: [R] VIM Syntax Highlighting

2003-03-10 Thread Carlos Ortega
In the Windows (GVIM - version 6.1) as well as the Linux version (GVIM - 6.1) that syntax highlighting capability is already built in VIM. Go to Syntax and then click on the first line of the menu (Show individual choices). That menu will change, now instead of Show individual choices you will ge

Re: [R] terms.formula

2003-03-10 Thread Thomas Lumley
On Mon, 10 Mar 2003, Roger Koenker wrote: I'm in the very initial stage of expanding the formula processing in my quantile regression function rq() to handle additive nonparametric components, say qss(x), or qss(x,z). I need some advice about strategy for formula processing. My initial

[R] GLM

2003-03-10 Thread laurans
Hello, I would to know the equivalent of the function step.glm for R. Thank you Sincerely Martial Laurans __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Re: [R] Creating a sequence of variables in a data frame

2003-03-10 Thread Spencer Graves
data1 - data.frame(old=1:2) data1$old2 - 3:4 data1 old old2 1 13 2 24 Acceptable? Spencer Graves Ryan T. Moore wrote: Two questions: 1. I have a data frame named data1 that includes the variable old. I want to create a sequence of new variables in the data frame called old.1,

[R] Least-squares means

2003-03-10 Thread Philippe Hupé
Is there any function to compute Least-squares means from a linear model as lsmeans does in SAS. Thanks. Philippe. __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help

[R] predicted values

2003-03-10 Thread Luis Silva
Hello helpers I fitted an SARIMA model to a time series and would like to predict 10 steps ahead. I made dataset1.arima-arima(dataset1.ts,order=c(2,1,0),seasonal=list (order=c(1,1,0))) predict(dataset1.arima,n.ahead=10) The problem is that the predicted values came in a different scale. The

Re: [R] DLL error after update.packages

2003-03-10 Thread Renaud Lancelot
[EMAIL PROTECTED] wrote: On Mon, 10 Mar 2003, Brett Magill wrote: When updataing packages from CRAN, I got the following error message: updating HTML package descriptions Warning message: DLL attempted to change FPU control word from 8001f to 9001f Everything seems fine, the packages

Re: [R] sampling and gini index

2003-03-10 Thread Achim Zeileis
On Monday 10 March 2003 16:34, Carlos Ortega wrote: Cesar, For the first part, please check the function included. For the sampling, please check ?sample. Regards, Carlos. g.index-function(y) { sum.res-0 y.lg-length(y) y.mean-mean(y) for (i in 1:y.lg) {

[R] SNOW: Simple Parallel Computing in R

2003-03-10 Thread Luke Tierney
The package `snow' (Simple Network of Workstations), originally announced in early form about a year ago on this list, is now available from CRAN. Snow implements a simple mechanism for using a workstation cluster for ``embarrassingly parallel'' computations in R. The interface, which is based in

Re: [R] graphics backgrounds from gray to white in png()

2003-03-10 Thread Deepayan Sarkar
You need to change the (lattice) background setting AFTER starting the png() device (lattice maintains separate settings for different devices). If you use png() to start subsequent devices, the same settings will be re-used. (The alternative is to use trellis.device(), which is the more

[R] help--Cox ph model

2003-03-10 Thread Song, Guangchun
Dear r-users, I want to use the Cox's ph model to analyze survival data set. How can I extract the model coefs. and Wald test p-value or Score? For example: I use the data set melanom in iSwR package. library(survival) data(melanom) attach(melanom) cox.model -

[R]

2003-03-10 Thread Francisco J Molina
Subject: separator = TAB in write.table X-Mailer: VM 7.00 under 21.4 (patch 6) Common Lisp XEmacs Lucid Reply-To: [EMAIL PROTECTED] FCC: /home/f/.xemacs/mail/sent How can I choose my separator to be TAB in functions like write.table ()? __ [EMAIL

Re: [R]

2003-03-10 Thread Corey Moffet
write.table(df, file = filename, sep = \t) At 11:55 AM 3/10/2003 -0800, Francisco J Molina wrote: Subject: separator = TAB in write.table X-Mailer: VM 7.00 under 21.4 (patch 6) Common Lisp XEmacs Lucid Reply-To: [EMAIL PROTECTED] FCC: /home/f/.xemacs/mail/sent How can I choose my separator to

Re: [R]

2003-03-10 Thread Kenneth Cabrera
use the option sep=\t on write.table. see ?write.table On Mon, 10 Mar 2003 11:55:46 -0800, Francisco J Molina [EMAIL PROTECTED] wrote: Subject: separator = TAB in write.table X-Mailer: VM 7.00 under 21.4 (patch 6) Common Lisp XEmacs Lucid Reply-To: [EMAIL PROTECTED] FCC:

[R] ape 1.0 is on CRAN

2003-03-10 Thread Emmanuel Paradis
Dear all, The version 1.0 of ape (analysis of phylogenetics and evolution) is now on CRAN. The jump from version 0.2-1 to 1.0 is explained by the fact that the initial objectives of the project have been completed. The relevant part of the Changes file is shown below. All comments,

Re: [R] help--Cox ph model

2003-03-10 Thread Peter Dalgaard BSA
Song, Guangchun [EMAIL PROTECTED] writes: Dear r-users, I want to use the Cox's ph model to analyze survival data set. How can I extract the model coefs. and Wald test p-value or Score? Unlike most other modelling code, summary.coxph() just prints its results rather than store them in an

[R] Biplots

2003-03-10 Thread Damon Wischik
I want to plot biplots. I have seen the function biplot, but there are some extra features I would like, that I do not know how to achieve. 1. My observations, and my variables, fall into groups. Is there a way to, say, plot the observations in several different colours, according to which group

Re: [R] libR.so - not recognized

2003-03-10 Thread Elena Zheleva
Thank you for your help! That brings the question of whether it is possible to pass a list to an R function from a C application without creating a STRSXP list with allocVector in the C application first (and using eval). My main application is in C. In some cases, rather than creating a

Re: [R] Biplots

2003-03-10 Thread Thomas W Blackwell
On Mon, 10 Mar 2003, Damon Wischik wrote: I want to plot biplots. I have seen the function biplot, but there are some extra features I would like, that I do not know how to achieve. 1. My observations, and my variables, fall into groups. Is there a way to, say, plot the observations in

[R] fft help

2003-03-10 Thread Kenneth Cabrera
Hi R-users: I want to know if there is an easy way to obtain a Fourier Transform form a vector or an array (just like fft does), but with a more density base. I mean, if I have a vector of 512 of length, I want the Fourier Transform to be 1024, or 2048, etc, in length (de u domain). Or should I