[R] ARIMA fitting

2007-08-09 Thread laura
Hello, I‘m trying to fit an ARIMA process, using STATS package, arima function. Can I expect, that fitted model with any parameters is stationary, causal and invertible? Thanks __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listin

[R] expm() within the Matrix package

2007-03-15 Thread Laura Hill
ld like to thank Gad Abraham also for helping me get this far. Thanks in advance Laura __ 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 and

[R] multiplying matrix by vector of times

2007-03-13 Thread Laura Hill
On 8/3/07 22:12, "Gad Abraham" <[EMAIL PROTECTED]> wrote: > Laura Hill wrote: >> >> >> On 7/3/07 00:15, "Gad Abraham" <[EMAIL PROTECTED]> wrote: >> >>>> On 6 Mar 2007, at 08:54, Laura Hill wrote: >>>> >&

[R] multiplying matrix by vector of times

2007-03-13 Thread Laura Hill
On 8/3/07 22:12, "Gad Abraham" <[EMAIL PROTECTED]> wrote: > Laura Hill wrote: >> >> >> On 7/3/07 00:15, "Gad Abraham" <[EMAIL PROTECTED]> wrote: >> >>>> On 6 Mar 2007, at 08:54, Laura Hill wrote: >>>> >&

Re: [R] Estimating parameters of 2 phase Coxian using optim

2007-03-08 Thread Laura Hill
vector but here you're treating it as a >> function. Maybe try >> >> loglik<-log(p %*% expm(Q * y[i]) %*% q) >> >> ? >> >> Don't have a clue about the correctness of the contents of cox2.lik... >> >> Andy >> >> &g

[R] expm()

2007-03-06 Thread Laura Hill
e been finding it difficult to get information on calculating Matrix exponentials in R. Many thanks in advance Laura __ 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-proje

[R] Estimating parameters of 2 phase Coxian using optim

2007-03-06 Thread Laura Hill
Hi, My name is Laura. I'm a PhD student at Queen's University Belfast and have just started learning R. I was wondering if somebody could help me to see where I am going wrong in my code for estimating the parameters [mu1, mu2, lambda1] of a 2-phase Coxian Distribution. cox2.lik<-f

[R] Estimating parameters of 2 phase Coxian using optim

2007-03-06 Thread Laura Hill
Hi, My name is Laura. I'm a PhD student at Queen's University Belfast and have just started learning R. I was wondering if somebody could help me to see where I am going wrong in my code for estimating the parameters [mu1, mu2, lambda1] of a 2-phase Coxian Distribution. cox2.lik

[R] Point estimate from loess contour plot

2007-02-08 Thread Laura Quinn
point me in the right direction please? Thanks. Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] __ R-help

[R] Further rgl()/spheres3d() query

2006-02-20 Thread Laura Quinn
RUE) text3d(sample[i,1],sample[i,2],sample[i,3],i,adj=0) }} Thanks in advance, Laura Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] _

[R] Saving surface3d Output

2006-02-13 Thread Laura Quinn
Hello, Please could someone advise if it's possible to save the graphical output from the surface3d() function? I have tried the dev.copy() function to save as a pdf but an error message says I cannot copy from the null device. Laura Quinn Institute of Atmospheric Science School of Eart

[R] slightly off-topic re prcomp()

2006-02-08 Thread Laura Quinn
e the same PC score). This is not the case and I was wondering could someone point me in the direction of some literature to explain the reason behind this? Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +

[R] symbol() function in 3d

2006-02-07 Thread Laura Quinn
. Thanks, Laura Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

[R] Selecting Random Subset From Matrix - retaining indices

2006-01-28 Thread Laura Quinn
? Further to my earlier query I am hoping to pick a random selection of grid points (with (x,y,z) coords) from a 3d map matrix. Thanks in advance. Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343

Re: [R] Creating 3D Gaussian Plot

2006-01-28 Thread Laura Quinn
pes. http://maxwell.ucdavis.edu/~electro/potential/images/steep.jpg I then wish to pick a number of grid points at random from the output to perform a further analysis upon. I hope this makes things a little clearer! Again, any help gratefully received, thank you. Laura Quinn Institute of A

[R] Creating 3D Gaussian Plot

2006-01-28 Thread Laura Quinn
and I'm really after creating a continuous 3d gaussian mesh with a "positive" and "negative" dipole. Can anyone offer any pointers at all? Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343

[R] White Noise

2006-01-22 Thread Laura Quinn
I'm wanting to create a series of near-identical matrices via the addition of "white noise" to my starting matrix. Is there a function within R which will allow me to do this? Thank you Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leed

[R] Creating dipole field

2006-01-19 Thread Laura Quinn
nters appreciated, thank you! Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list

[R] optim not giving correct minima

2005-11-11 Thread Laura Forsberg White
en the results are fine, at least in this case, but not always. Thanks for any help you might be able to offer! laura __ 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] unable to source a .R file using RJava

2005-07-27 Thread O'Brien, Laura
rsion info and code are below. Any help would be appreciated. --Laura O'Brien Applications Architect version info Java: j2sdk1.4.1_02 R: 2.1.1 SJava: 0.68 OS: SunOs 5.8 doNothing.R file I'd like to source ---

[R] core dump when call t.test via the "RJava --example --gui-none" interface

2005-07-27 Thread O'Brien, Laura
using ./RJava --example --gui-none to invoke t.test core dumps. The line of R works if I go directly thru R and not RJava. Version info and code are below. Any help would be appreciated. --Laura O'Brien Applications Architect Version info Java: jdk1.5.0

[R] apply and arrays

2005-07-24 Thread Laura Holt
Hi R! I have a 3 dimensional array, which is 21 x 3 x 3 I want to use apply to sum on each 21x3 matrix, which is fine. Is there a way that I can do this in 1 step instead of a loop (3), please? thanks, Laura Holt mailto: [EMAIL PROTECTED] __ R-help

Re: [R] unable to call R t-test from Java

2005-07-21 Thread O'Brien, Laura
.err.println("\r\n"); } Thanks, Laura -Original Message- From: O'Brien, Laura Sent: Wednesday, July 20, 2005 10:42 AM To: 'r-help@stat.math.ethz.ch' Subject: unable to call R t-test from Java Hello, My colleague and I would like to write Java code that in

Re: [R] Regression lines for differently-sized groups on the same plot

2005-07-20 Thread Laura M Marx
Sundar Dorai-Raj writes: > Hi, Laura, > > Would ?predict.glm be better? > > plot(logarea, hempresence, > xlab = "Surface area of log (m2)", > ylab="Probability of hemlock seedling presence", > type="n", font.lab=2, c

[R] unable to call R t-test from Java

2005-07-20 Thread O'Brien, Laura
s and also ran into various degrees of failure. Any insight you can provide or other Web references you can point me to would be appreciated. Thank you, Laura O'Brien Application Architect --- code -- package org.omegahat.R.Jav

[R] Regression lines for differently-sized groups on the same plot

2005-07-19 Thread Laura M Marx
ttle for a work-around that would have R connect the pieces of the curve so that I get a solid line rather than small dots and dashes where actual data exist. Thanks so much for your help! Laura Marx Michigan State University, Dept. of Forestry #Note: hemdata has all the rows that are n

[R] Off topic -2 Ln Lambda and Chi square

2005-07-11 Thread Laura Holt
Dear R : Sorry for the off topic question, but does anyone know the reference for the -2 Ln Lambda following a Chi Square distribution, please? Possibly one of Bartlett's? Thanks in advance! Sincerely, Laura Holt mailto: [EMAIL PROTECTED] __ R

[R] O/T -2 Log Lambda and Chi Square

2005-07-10 Thread Laura Holt
Hi R People: Sorry about the off topic question. Does anyone know the reference for "-2 Log Lambda is approx dist. Chi square", please? It may be Bartlett, but I'm not sure thanks in advance! Sincerely, Laura Holt mailto: [

[R] Main Title for multiple charts

2005-07-07 Thread Laura Holt
How would this be done, please? Thanks in advance! Laura Holt mailto: [EMAIL PROTECTED] _ Don’t just search. Find. Check out the new MSN Search! __ R-help@stat.math.ethz.ch mailing list https:/

Re: [R] where can i download the metrics package?

2005-06-29 Thread Laura Holt
There are several packages within rmetrics such as fSeries, fBasics, fExtremes, and so on. You can download those in the usual way. >From: Spencer Graves <[EMAIL PROTECTED]> >To: ronggui <[EMAIL PROTECTED]> >CC: R <[EMAIL PROTECTED]> >Subject: Re: [R] where can i download the metrics package? >

[R] ccf

2005-06-16 Thread Laura De Vendictis
Hello group, For my research I should calculate the cross-correlation between two time series. I don't know if the function ccf can calculate this with series that have NA values. e.g. temperature: 15.5 NA 12.3 10.0 NA 14.2 15,3 Can you help me? Thank you very much!

[R] question regarding new class

2005-05-31 Thread Laura Holt
Hi R people: I have created a new class for a project that I am working on. It works fine. Just one question, please: When I access the slots, is there any way that I could use x$Name instead on [EMAIL PROTECTED], please? Or is it that way by design, please? Thanks. Laura Holt

[R] Power set

2005-05-26 Thread Laura Holt
, Laura Holt mailto: [EMAIL PROTECTED] R Version 2.1.0 Windows __ 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] Returning from a function

2005-05-23 Thread Laura Holt
as it should be, please? thanks again, Shamefacedly, Laura Holt R Version 2.1.0 Windows mailto: [EMAIL PROTECTED] __ 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

[R] website reference for building R packages

2005-05-23 Thread Laura Holt
Sincerely, Laura Holt mailto: [EMAIL PROTECTED] __ 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] lattice plots question

2005-05-18 Thread Laura Holt
Dear R People: Is there any way to have the background of lattice plots be white instead of grey, please? This is not a criticism by any means...the lattice stuff is UNbelievable! Thanks, Laura Holt mailto: [EMAIL PROTECTED] R Version 2.1.0 Windows

[R] Fitting Contour to Data Points

2005-05-16 Thread Laura Quinn
is not a regular grid)...can anyone offer a way around this?? Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] __ R-help

Re: [R] Mental Block with PCA of multivariate time series!

2005-05-16 Thread Laura Quinn
ed on every 50 rows of data and the loading for PC1 and PC2 for each variable (i.e. each column) is represented as a point on a plot - so a years' data will be represented as two lines (representing PC1 and PC2) on a time series plot for each variable. Laura Quinn Institute of Atmospher

[R] Mental Block with PCA of multivariate time series!

2005-05-16 Thread Laura Quinn
and produce a graphical output of the loadings for the first 2 EOFs for each variable. I'm sure I've performed a very similar routine in the past, but the method is currently escaping me. Any help gratefully received! Laura Quinn Institute of Atmospheric Science School of Earth and E

[R] Finding Gradient from Contour map

2005-05-15 Thread Laura Quinn
which will allow for this? Thanks, Laura Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch

[R][S] Data sets from Chambers' green book?

2005-05-10 Thread Laura Holt
Dear R and S people: Yet another dorky question (YADQ), please: Where can I find the data sets from Chambers' green book, please? I've tried http://cm.bell-labs.com/stat/Sbook (web site, no data or even pointersfunctions and articles...good ones) http://cm.bell-labs.com/stat/project/icmanuf no

[R] Classes and methods

2005-05-03 Thread Laura Holt
Hi R people: I would like to learn about classes, methods, S3 and S4. Which book would be the most helpful for this info, please: the green one or the white(and blue) one? Or is there something that would be even better, please? Thanks in advance. Sincerely, Laura Holt mailto: [EMAIL PROTECTED

[R] Question about R initial message

2005-04-27 Thread Laura Holt
Dear R: First of all, nothing is wrong! I just had a question about the following" "Natural language support but running in an English locale" What does than mean, please? Thanks in Advance R 2.1.0 Windows Laura Holt mailto: [EMAIL PROTECTED] __

[R] Off topic excel question

2005-04-24 Thread Laura Holt
Does anyone know how to plot a time series in Excel, please? Sorry for the Bad off topic. thanks, Laura Holt mailto: [EMAIL PROTECTED] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Conditional Interpolation

2005-04-14 Thread Laura Quinn
issing data points in adjacent columns are not related), on a 52000x22 matrix - with windows of 144 each. Can someone please offer some advice, [EMAIL PROTECTED] getting confused with the nesting of my loops! I'm using V2.0.1 on linux. Thanks, Laura Laura Quinn Institute of Atmo

[R] writing to an Excel file

2005-04-10 Thread Laura Holt
. Sincerely, Laura Holt mailto: [EMAIL PROTECTED] R Version 2.0.1 Windows __ 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] read.table with header and text data

2005-04-06 Thread Laura Holt
figure out exactly how. Thanks, Laura mailto: [EMAIL PROTECTED] R 2.0.1 Windows __ 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] Reconstructing Datasets

2005-03-01 Thread Laura Quinn
Hi, Is it possible to recreate "smoothed" data sets in R, by performing a PCA and then reconstructing a data set from say the first 2/3 EOFs? I've had a look in the help pages and don't seem to find anything relevant. Thanks in advance, Laura Laura Quinn Institute of Atmosp

[R] number formatting

2005-02-28 Thread Laura Holt
Sincerely, Laura Holt mailto: [EMAIL PROTECTED] __ 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] and [ESS] Starting ESS

2005-02-23 Thread Laura Holt
+ 6.2) Thanks so much! Sincerely, Laura Holt mailto: [EMAIL PROTECTED] __ 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

Re: [R] Passing colnames to graphics title

2005-02-16 Thread Laura Quinn
Wonderful, thank you very much! Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] On Wed, 16 Feb 2005, Dimitris Rizopoulos wrote: > a simple thing to do is: >

Re: [R] Passing colnames to graphics title

2005-02-16 Thread Laura Quinn
Obviously I have been trying to use the colnames() function! However, when I try to subscript ie: for(i in 1:20){ main=paste("Site:",colnames(i),sep="") } this doesn't work! I thought that as.character(colnames(i)) or substitute(colnames(i)) might work, but to no avail.

[R] Passing colnames to graphics title

2005-02-16 Thread Laura Quinn
Hi, Just a quick query - if I'm creating a function to produce a number of histograms per page of output (one per column from a matrix), how can I pass the column name of the matrix into the title (or indeed to form part of the x-axis label)? TIA, Laura Laura Quinn Institute of Atmosp

[R] Interpretation of PC loadings

2005-02-03 Thread Laura Quinn
vise me which method will be more reliable in terms of revealing underlying flow direction when remapping onto the original (x,y) map? Any advice most welcome! Thank you, Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113

Re: [R] Runnning R remotely

2005-02-02 Thread Laura Quinn
Aha, of course! Thanks for your help - 10 minutes down to 5 seconds, superb. Laura Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] On Wed, 2 Feb 2005, Jean Eid

Re: [R] Runnning R remotely

2005-02-02 Thread Laura Quinn
roven easy to convery into gifs and then into movie gifs. Could anyone suggest an alternative approach in this case? TIA, Laura Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROT

[R] Runnning R remotely

2005-02-02 Thread Laura Quinn
I couldn't run the model: Error in X11(paste("png::", filename, sep = ""), width, height, pointsize, : unable to start device PNG In addition: Warning message: unable to open connection to X11 display`' Could somebody please advise a way around this? Thanks

[R] Re: a web about Pollas Y Gays?

2004-12-20 Thread Laura
Hola r-help, Su cliente de correo no admite mensajes en formato HTML, por favor use un cliente que admita mensajes HTML para leer este mail, o pruebe a leer la version en texto plano: Hi, you can found a web about the content you ask here we hope thats you spect, Regards [[alternat

[R] Off Topic: GSL installation for Windows

2004-11-18 Thread Laura Holt
Hi R People! Has anyone installed the Gnu Scientific Library on a Windows system, please? I'm having a dreadful time with that. Any advance would be much appreciated. Sincerely, Laura Holt mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list

[R] changing character to a vector name

2004-11-16 Thread Laura Holt
3.df$CITIZEN along with another value to generate a table. However, I'm stuck here. I know this is incredibly stupid. Thanks in advance. Sincerely Laura Holt mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/lis

[R] Changing zeros to NAs in a data frame

2004-11-16 Thread Laura Holt
lobal" way to do this, please? I was thinking about use the results from "str" but am not sure. R Version 2.0.0 Windows. Thanks in advance. Sincerely, Laura Holt mailto: [EMAIL PROTECTED] Security. http://clinic.mcafee.com/clinic/ibuy/c

Re: [R] Exporting to file: passing source name to file name in loop

2004-11-14 Thread Laura Quinn
arse(x) but this returns a file extension of the following nature: structure(list(f1 = c(5.56358661715647, 6.10364037003176, 6.24040147126807, .10.png Thanks, Laura Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax:

[R] Exporting to file: passing source name to file name in loop

2004-11-14 Thread Laura Quinn
50*(pca$rotation[i,1:(ncol(x)/2)])), (y[,2]+50*(pca$rotation[i,((ncol(x)/2)+1):(ncol(x))])), angle=30,length=0.05,code=2) dev.off() } box() } }} many thanks in advance! Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of L

[R][OT] Latex Integration question

2004-10-28 Thread Laura Holt
Thanks, Laura Holt mailto: [EMAIL PROTECTED] __ [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] Slope of surface

2004-10-19 Thread Laura Quinn
Hi, Is there a neat way of working out the slope of a flat surface in R? Given (x,y,z) co-ordinates of the four corners of a square, is there a function which will allow me to calculate the "mean" slope of the surface in a given direction? Thanks in advance.. Laura Laura Quinn In

[R] nlm question

2004-10-11 Thread Laura Holt
erations [1] 8 I get the appropriate answer. What can I put into my code to improve the estimates, please? Thanks Sincerely, Laura Holt R Version 2.0.0 Windows mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listi

[R] please ignore question about nlm

2004-10-10 Thread Laura Holt
sorry for the previous message an attack of the stupids. Thanks, Laura __ [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] Puzzled on nlm

2004-10-10 Thread Laura Holt
1),a=c(0.8,0.5,1)) Error in nlm(mfun1, c(1, 1), a = c(0.8, 0.5, 1)) : invalid function value in 'nlm' optimizer I am stumped. I'm sure that it's something really small that I'm overlooking. Thanks in advance for any help. Since

[R] Performing Analysis on Subset of External data

2004-10-06 Thread Laura Quinn
in these rows, rather than reading in the entire dataset then selecting subsets and deleting the extraneous data? This method takes a rather silly amount of time and results in memory problems. I am using R 1.9.0 on SuSe 9.0 Thanks in advance! Laura Quinn Institute of Atmospheric Science School

[R] If loops

2004-10-03 Thread Laura Collins
on to return the coordinates of x where the number 8 appears (i.e. 2 4). I know I need to set up an if loop but I'm really not sure how to do this. Any advice or clues will be much appreciated. Thanks, Laura [[alternative

[R] Excluding data in R

2004-10-03 Thread Laura Collins
I was hoping someone could help me! How do you exclude outliers from a set of data? Thanks, Laura [[alternative HTML version deleted]] __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] boxplot() from list

2004-09-12 Thread Laura Quinn
,1] newlist<-oldlist[[]][,$colone] can anyone please offer some insight?? Thanks in advance, Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [E

Re: [R] Further png() question

2004-09-07 Thread Laura Quinn
Thanks all! It appears I just had the par in the wrong place in my loop. Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] On Tue, 7 Sep 2004, Petr Pikal wrote

[R] Further png() question

2004-09-07 Thread Laura Quinn
by par(mfrow=c(1,4)). I have tried calling a new plot and setting par in this way but this has no bearing when I call png(). Any suggestions? Thanks in advance, Laura Quinn Institute of Atmospheric Science School of Earth and Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596

Re: [R] Problems with png()

2004-09-06 Thread Laura Quinn
A windows machine?? If you could suggest where I might get my hands on one... AFAIK I'm running the code interactively. Laura Quinn Institute of Atmospheric Science School of the Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROT

Re: [R] Problems with png()

2004-09-06 Thread Laura Quinn
On Mon, 6 Sep 2004, Barry Rowlingson wrote: > Laura Quinn wrote: > > I am trying to save a series of plots as .png files by using > > > > png(file="myfile.png",bg="transparent") > > dev.off() > > > > for each image plot I produce. Unfor

Re: [R] Problems with png()

2004-09-06 Thread Laura Quinn
Sorry! Tried to save the .png from both R-1.9.1 and R-1.8.0 to no avail. I am running R-1.9.1 on SusE 9.0, and R-1.8.0 on Debian. I have tried to view the images with Gimp and Kview (on both systems), to no avail. Laura Quinn Institute of Atmospheric Science School of the Environment University

[R] Problems with png()

2004-09-06 Thread Laura Quinn
unction but have the same problem. The only way I have managed to export a graphic successfully is as dev.copy2eps. Aside from producing unwieldy files, this is also unhelpful as [EMAIL PROTECTED] hoping to create a movie of the images via ImageMagick. Any suggestions? Thanks in advance, Laur

Re: [R] Applying function to lots of separate data sets

2004-09-05 Thread Laura Quinn
Aha, apologies...I have just answered my own question - thanks for showing me the light with lists, lots of time saving ahead!! Laura Laura Quinn Institute of Atmospheric Science School of the Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL

Re: [R] Applying function to lots of separate data sets

2004-09-05 Thread Laura Quinn
these?? Laura Quinn Institute of Atmospheric Science School of the Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] On Sun, 5 Sep 2004, Duncan Murdoch wrote: > On Mon, 6 Sep 2004 01:14:40 +0100 (BST), Laura Quinn > <[EMAIL PRO

[R] Applying function to lots of separate data sets

2004-09-05 Thread Laura Quinn
quot;,sep=""))) can someone please point out where i am going wrong? Thanks in advance.. Laura Quinn Institute of Atmospheric Science School of the Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED]

[R] solution to outer question

2004-08-30 Thread Laura Holt
4444443 2 1 [9,]333333333 2 1 [10,]222222222 2 1 [11,]111111111 1 1 All is well. Sorry for the trouble. Sincerely, Laura H mail

[R] solution to outer question

2004-08-30 Thread Laura Holt
4444443 2 1 [9,]333333333 2 1 [10,]222222222 2 1 [11,]111111111 1 1 All is well. Sorry for the trouble. Sincerely, Laura H mail

[R] outer question

2004-08-30 Thread Laura Holt
ror in outer(x, y, function(x, y) 12 - max(x, y)) : dim<- : dims [product 121] do not match the length of object [1] Is there a better way to do this, please? I would like to avoid loops if possible. Thanks in advance. Sincerely, Laura Holt mailto: [EMAIL PROTECTED] R version 1.9.

[R] Mapping PCA loadings on to map

2004-08-25 Thread Laura Quinn
very obvious way around this and would be extremely grateful if anyone could help me out! Also, it occurs to me that another way of representing this information is by using the arrows() function to add a vector to the map - but again this relies on my subscripting problem TIA, Laura Laura Qui

[R] more on apply on data frame

2004-08-20 Thread Laura Holt
ave same length Any ideas of what I'm doing wrong, please? Thanks, Laura Holt mailto: [EMAIL PROTECTED] R Version 1.9.1 Windows __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R

[R] apply and data frames

2004-08-20 Thread Laura Holt
Whoops! Just found it: by(iris[,1:4],Species,mean) Sorry for the inconvenience. Laura. Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] apply on a data frame

2004-08-20 Thread Laura Holt
. 5.006 5.936 6.588 Sepal W. 3.428 2.770 2.974 Petal L. 1.462 4.260 5.552 Petal W. 0.246 1.326 2.026 Is there is similar way to obtain those values from the iris data frame, please? thanks in advance R Version 1.9.1 Windows. Sincerely, Laura Holt mailto: [EMAIL

[R] legends on the outside of the "box"

2004-08-19 Thread Laura Holt
side of the plot itself, perhaps in the lower left hand corner. I've been messing with mtext, but to no avail. Any help would be much appreciated. R Version 1.9.1 Windows Thanks, Laura Holt mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list ht

[R] ROracle and vector elements

2004-08-19 Thread Laura Holt
Hi there! Is ROracle available for Windows, please? I found a download site, but it's really for UNIX/Linux. Here is a "thought question", please: Why do the vector elements start at location 1 rather than zero, as C does? Thanks in advance! R Version 1.9.1 Windows Sincerely, La

[R] Months on the horizontal axis

2004-08-16 Thread Laura Holt
ot; "S" "O" "N" "D" "J" "F" "M" "A" "M" "J" "J" [20] "A" "S" "O" "N" "D" #I looked at the original plot plot(ya.ts) #Now I start cleaning things up plot(ya.ts,axes=F,ylab=" ",xlab="2001 - 2002",ylim=c(-3,4)) md1 <- ((0:23)/12)+2001 md1 [1] 2001.000 2001.083 2001.167 2001.250 2001.333 2001.417 2001.500 2001.583 [9] 2001.667 2001.750 2001.833 2001.917 2002.000 2002.083 2002.167 2002.250 [17] 2002.333 2002.417 2002.500 2002.583 2002.667 2002.750 2002.833 2002.917 axis(1,at=md1,labels=mon2,pos=-3) axis(2,pos=2001) title("Months on the Horizontal Axis") Thanks for listening and thanks for the many kind responses. Sincerely, Laura mailto: [EMAIL PROTECTED] __ [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] ticks on the Time Axis

2004-08-16 Thread Laura Holt
, the ticks on the horizontal (time) axis are 2001.0, 2001.5, and so on. Is there a way to set up ticks such as J,F,M,A,M..by months, please? Thank you! Sincerely, Laura Holt mailto: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https

RE: [R] Stacking Vectors/Dataframes

2004-08-16 Thread Laura Quinn
As our IT man is currently on holiday I am not able to upgrade to version 1.9.0(or 1.9.1) at the moment, and I see that the gregmisc library will not work on earlier versions (I am using 1.8.0). Does anyone have any other suggestions how I might be able to acheive this? Thank you Laura Quinn

[R] Stacking Vectors/Dataframes

2004-08-15 Thread Laura Quinn
a for loop (simply assigning and also with rbind) to do this but am having difficulty correctly assigning the destination in the new dataframe. Can anyone offer a quick and easy way of doing this (or even a long winded one if it works!!) Thank you in advance, Laura Quinn Institute of Atmospheric

[R] str and Surv objects

2004-08-10 Thread Laura Holt
g? Thanks in advance. R Version 1.9.1 Windows Sincerely, Laura Holt mailto: [EMAIL PROTECTED] hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] hist and normal curve

2004-08-10 Thread Laura Holt
Hi R People: I have a data set and I want to use the hist command and produce a histogram. Then I want to superimpose a normal curve over the histogram. Is there a simple way to do this, please? R version 1.9.1 Windows. thanks in advance, Sincerely, Laura Holt mailto: [EMAIL PROTECTED] hthttp

[R] Vector to complex scalar

2004-07-22 Thread Laura Quinn
Is there an R function to convert vectors into complex scalars? Thanks Laura Quinn Institute of Atmospheric Science School of the Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED

[R] PCA of vectors

2004-07-21 Thread Laura Quinn
! Laura Laura Quinn Institute of Atmospheric Science School of the Environment University of Leeds Leeds LS2 9JT tel: +44 113 343 1596 fax: +44 113 343 6716 mail: [EMAIL PROTECTED] __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman

[R] subsets in data frame

2004-07-13 Thread Laura Holt
maybe "apply" would be the answer but can't figure out how to break out by factor. Any suggestions would be most appreciated. Thanks yet again. R Version 1.9.1 for windows Sincerely, Laura Holt mailto: [EMAIL PROTECTED] your life. http://lifeevents.msn.com __

[R] question about seq.dates from chron vs. as.POSIXct

2004-07-07 Thread Laura Holt
ght GMT and converting to Central Standard Time. Is the best solution to: as.POSIXlt(xt, "CST") [1] "2004-01-01 CST" "2004-01-02 CST" "2004-01-03 CST" "2004-01-04 CST" [5] "2004-01-05 CST" Thanks in advance! Sincerely, Laura Holt

  1   2   >