Re: [R] element wise opertation between a vector and a list

2007-09-03 Thread Moshe Olshansky
__ 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 provide commented, minimal, self-contained, reproducible code. __ R-help

Re: [R] plotting predicted curves with log scale in lattice

2007-09-03 Thread Deepayan Sarkar
On 9/3/07, Ken Knoblauch [EMAIL PROTECTED] wrote: Hi, I was taken off guard by the following behavior in a lattice plot. I frequently want to add a predicted curve defined at more points than in the formula expression of xyplot. There have been numerous examples of how to do this on r-help

Re: [R] Derivative of a Function Expression

2007-09-03 Thread Gabor Grothendieck
- f body(Df) - deriv(body(f), x) # error Also: f - function(x) x^2 + 2 * x + 1 Df - f body(Df) - deriv(body(f), x) # ok D2f - f body(D2f) - deriv(body(Df), x) # error Alberto Monteiro __ R-help@stat.math.ethz.ch mailing list https

Re: [R] how to compute cross correlation

2007-09-03 Thread Moshe Olshansky
mean by ASCII - they are in an ASCII files? Regards, Moshe. --- Yogesh Tiwari [EMAIL PROTECTED] wrote: Hello R Users, How to compute cross correlation between two time series. Data is in ASCII format. I am using R on windows. Many thanks, Regards, Yogesh [[alternative HTML

Re: [R] Derivative of a Function Expression

2007-09-03 Thread Gabor Grothendieck
__ 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 provide commented, minimal, self-contained, reproducible code.

Re: [R] The quadprog package

2007-09-03 Thread Moshe Olshansky
Hi Thomas, On my computer the solution is (0,0,1,0,0,0,0) (within machine accuracy) and it satisfies the constraints. --- [EMAIL PROTECTED] wrote: Hi everybody, I'm using Windows XP Prof, R 2.5.1 and a Pentium 4 Processor. Now, I want to solve a quadratic optimization program (Portfolio

Re: [R] Different behavior of mtext

2007-09-03 Thread Sébastien
a écrit : On Sun, 2 Sep 2007, Sébastien wrote: Dear R Users, I am quite surprised to see that mtext gives different results when it is used with 'pairs' and with plot'. In the two following codes, it seems that the 'at' argument in mtext doesn't consider the same unit system. It is stated

Re: [R] Row-Echelon Form

2007-09-03 Thread John Fox
Dear Peter, Some time ago, I posted a function RREF to r-help that computes the reduced row-echelon form of a matrix. Just last week, Scott Hyde posted a revised version of this function to r-help (see https://stat.ethz.ch/pipermail/r-help/2007-September/139923.html). My original function didn't

Re: [R] Package installation

2007-09-03 Thread Matias Bordese
/07, Uwe Ligges [EMAIL PROTECTED] wrote: Antje wrote: Hello, I'm running R with windows. Could anybody help me how to install the package biOps (http://cran.mirroring.de/src/contrib/Descriptions/biOps.html) ? I cannot find it at any mirror provided by the GUI; I just found

[R] Efficient sampling from a discrete distribution in R

2007-09-03 Thread Issac Trotts
Hello r-help, As far as I've seen, there is no function in R dedicated to sampling from a discrete distribution with a specified mass function. The standard library doesn't come with anything called rdiscrete or rpmf, and I can't find any such thing on the cheat sheet or in the Probability

Re: [R] Derivative of a Function Expression

2007-09-03 Thread Rory Winston
Hi guys Thanks for all the fantastic suggestions! I didnt realise you could extract the body of a function in that manner. It looks like R always has many ways to solve a particular problem. Cheers Rory On 9/4/07, Gabor Grothendieck [EMAIL PROTECTED] wrote: And if f has brace brackets

Re: [R] Efficient sampling from a discrete distribution in R

2007-09-03 Thread Prof Brian Ripley
On Mon, 3 Sep 2007, Issac Trotts wrote: Hello r-help, As far as I've seen, there is no function in R dedicated to sampling from a discrete distribution with a specified mass function. The standard library doesn't come with anything called rdiscrete or rpmf, and I can't find any such thing

Re: [R] Efficient sampling from a discrete distribution in R

2007-09-03 Thread Issac Trotts
Thanks to you and Burwin for helping. My simulation seems faster now (btw, is there some easy way to time things in R?) but not as fast as I was hoping. Here's the top level function. Any ideas on how to make it faster? # Sample from a Chinese Restaurant Process # # size: number of samples

Re: [R] Embedding Audio Files in Interactive Graphs

2007-09-03 Thread Sam Ferguson
not its purpose). At least I'm hoping for a bit more flexibility. R seems like a better place to do interactivity, and with the field of information visualisation pointing out that interactivity is a very useful element for investigation of data it seems that clicking around graphical displays

[R] Question on graphs and simple if statements

2007-09-02 Thread JHawk3
Hi all, I'm a relatively new user to the R interface, and am trying to do some basic operations. So far I've used the curve() command to plot graphs. This has a couple of limitations, namely trying to do piecewise graphs. Basically, I'm looking for how to do if and while loops for making a graph

[R] Function modification: how to calculate values for every combination?

2007-09-02 Thread Lauri Nikkinen
__ 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 provide commented, minimal, self-contained, reproducible code.

Re: [R] Function modification: how to calculate values for every combination?

2007-09-02 Thread Paul Smith
__ 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 provide commented, minimal, self-contained, reproducible code.

Re: [R] Function modification: how to calculate values for every combination?

2007-09-02 Thread Lauri Nikkinen
and names(x) and names(y) as row and column headers respectively. Is the outer-function a way to solution? Best regards, Lauri __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Function modification: how to calculate values for every combination?

2007-09-02 Thread Paul Smith
) rownames(m) - x colnames(m) - y m Paul __ 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 provide commented, minimal, self-contained

Re: [R] Question on graphs and simple if statements

2007-09-02 Thread Ross Darnell
The answer to your first question is curve(ifelse((x-1)(x1),x^2+1,x+2),from=-10,to=10) Sorry I cannot understand the next part of your query. Ross Darnell On Sun, 2007-09-02 at 00:31 -0700, JHawk3 wrote: Hi all, I'm a relatively new user to the R interface, and am trying to do some basic

[R] NAs in indices

2007-09-02 Thread Muenchen, Robert A (Bob)
Hi All, I'm fiddling with an program to read a text file containing periods that SAS uses for missing values. I know that if I had the original SAS data set instead of a text file, R would handle this conversion for me. Data frames do not allow missing values in their indices but vectors do

Re: [R] Comparing transform to with

2007-09-02 Thread Gabor Grothendieck
: [EMAIL PROTECTED] Web: http://oit.utk.edu/scc, News: http://listserv.utk.edu/archives/statnews.html __ 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

Re: [R] Function modification: how to calculate values for every combination?

2007-09-02 Thread Erich Neuwirth
to solution? Best regards, Lauri __ 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 provide commented, minimal, self-contained

Re: [R] Function modification: how to calculate values for every combination?

2007-09-02 Thread Gabor Grothendieck
(y) as row and column headers respectively. Is the outer-function a way to solution? Best regards, __ 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

Re: [R] Importing huge XML-Files

2007-09-02 Thread f.jamitzky
Hi! try pre-filtering with xmlstarlet. you could use a pipe and then read the resulting data into R. -- View this message in context: http://www.nabble.com/Importing-huge-XML-Files-tf4365545.html#a12451059 Sent from the R help mailing list archive at Nabble.com

[R] [R-pkgs] ggplot2 - version 0.5.5

2007-09-02 Thread hadley wickham
ggplot2 === ggplot2 is a plotting system for R, based on the grammar of graphics, which tries to take the good parts of base and lattice graphics and avoid bad parts. It takes care of many of the fiddly details that make plotting a hassle (like drawing legends

Re: [R] NAs in indices

2007-09-02 Thread Charles C. Berry
On Sun, 2 Sep 2007, Muenchen, Robert A (Bob) wrote: Hi All, I'm fiddling with an program to read a text file containing periods that SAS uses for missing values. I know that if I had the original SAS data set instead of a text file, R would handle this conversion for me. Data frames do

Re: [R] Assigning line colors in xyplot

2007-09-02 Thread Christof Bigler
and coloring. Fortunately, the levels of interaction(f, g) are such that your colors (red, blue) are repeated in the right order, so you don't need to do much extra work. -Deepayan __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

Re: [R] Importing huge XML-Files

2007-09-02 Thread Martin Morgan
intermediate objects. Martin Alexander Heidrich [EMAIL PROTECTED] writes: Dear all, for my diploma thesis I have to import huge XML-Files into R for statistical processing - huge means a size about 33 MB. I'm using the XML-Package version 1.9 As far as reading the complete file into R via

[R] Different behavior of mtext

2007-09-02 Thread Sébastien
Dear R Users, I am quite surprised to see that mtext gives different results when it is used with 'pairs' and with plot'. In the two following codes, it seems that the 'at' argument in mtext doesn't consider the same unit system. I would appreciate your comments on this issue. Sebastien

Re: [R] Lattice:can't subset in panel function using other variables

2007-09-02 Thread Folkes, Michael
Thankyou very much Deepayan for pointing me in the correct direction. Your examples work perfectly for me. Much appreciated. Michael From: Deepayan Sarkar [mailto:[EMAIL PROTECTED] Sent: Fri 31/08/2007 5:18 PM To: Folkes, Michael Cc: r-help@stat.math.ethz.ch

Re: [R] Synchronzing workspaces

2007-09-02 Thread Paul August
. - Original Message From: Gabor Grothendieck [EMAIL PROTECTED] To: Paul August [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Thursday, August 30, 2007 11:24:31 PM Subject: Re: [R] Synchronzing workspaces I haven't had similar experience but note that save has ascii= and compress= arguments

Re: [R] Synchronzing workspaces

2007-09-02 Thread Gabor Grothendieck
through q function, unless the q function is replaced explicitly with save(list = ls(all=TRUE), file = .RData, ascii = T). Paul. - Original Message From: Gabor Grothendieck [EMAIL PROTECTED] To: Paul August [EMAIL PROTECTED] Cc: r-help@stat.math.ethz.ch Sent: Thursday, August

[R] Embedding Audio Files in Interactive Graphs

2007-09-02 Thread Sam Ferguson
Hi R-ers, I'm wondering if anyone has investigated a method for embedding audio files in R graphs (pdf format), and allowing their playback to be triggered interactively (by clicking on a graph element for instance). I know how to do this in latex pdfs with the multimedia package

[R] Neural network

2007-09-01 Thread Megh Dal
Dear all R users, Please ignore it if you feel it is 'off-topic'. Can anyone here suggest me some good books on Application of Neural network on time series forecasting? Regards, - [[alternative HTML version deleted

Re: [R] by group problem

2007-09-01 Thread Erich Neuwirth
Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax: +43-1-4277-39459 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

Re: [R] memory.size help

2007-09-01 Thread Michael Dewey
,]) zk[x] - mean(unlist(k), na.rm = TRUE) } xk$zk - zk data - na.omit(xk) -- View this message in context: http://www.nabble.com/memory.size-help-tf4359846.html#a12425401 Sent from the R help mailing list archive at Nabble.com. Michael Dewey http://www.aghmed.fsnet.co.uk

[R] iplots Java

2007-09-01 Thread Michael Kubovy
I run R 2.5.1 on a Mac, and use JGR as the front-end. When I performed an update.packages(), I believe it unpdated a component of JGR. I then quit and tried to relaunch JGR. It wouldn't launch. Instead it opened a panel that says: Cannot find iplot Java classes. Please make sure

Re: [R] Automatic anchors for text boxes

2007-09-01 Thread Jim Lemon
around a plot. Jim __ 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 provide commented, minimal, self-contained, reproducible code.

Re: [R] plotting

2007-09-01 Thread Jim Lemon
__ 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 provide commented, minimal, self-contained, reproducible code.

Re: [R] size limitations in R

2007-09-01 Thread Peter Dalgaard
Daniel Lakeland wrote: On Fri, Aug 31, 2007 at 01:31:12PM +0100, Fabiano Vergari wrote: I am a SAS user currently evaluating R as a possible addition or even replacement for SAS. The difficulty I have come across straight away is R's apparent difficulty in handling relatively large data

Re: [R] in cor.test, difference between exact=FALSE and exact=NULL

2007-09-01 Thread Andrew Yee
__ 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 provide commented, minimal, self-contained, reproducible code. -- O__ Peter Dalgaard Øster

[R] Problem in downloading Yahoo Finance data from R

2007-09-01 Thread Shubha Vishwanath Karanth
Hi R users, I have a problem in downloading Yahoo Finance data from R. I have tried an example given in R, to download. The error is given below: library(fCalendar) yahooImport(s=IBMa=11b=1c=1999d=0q=31f=2000z=IBMx=.csv , file = D:\\ Downlaod,source = http://ichart.yahoo.com/table.csv

Re: [R] in cor.test, difference between exact=FALSE and exact=NULL

2007-09-01 Thread Peter Dalgaard
that calculation of exact p-values will be attempted, and when there are ties you get a warning (NB: not error) message. Setting exact=FALSE, no attempt is made and no warning is given. Thanks, Andrew MGH Cancer Center __ R-help@stat.math.ethz.ch

[R] Visual details in integration of emacs, ess, Sweave (under aquamacs on OS X)

2007-09-01 Thread Ajay Shah
I am a very happy user of emacs, ess, Sweave. My complaint is about aquamacs (under OS X) and might not apply to other emacs variants. There is one piece of visual detail that I think is a problem. When the cursor moves from a line that's latex to a line that's R, ess automatically switches from

Re: [R] Incomplete Gamma function

2007-09-01 Thread Ted Harding
* this, but you do need the GSL documentation to find out what R package gsl does. Why it differs from the usual references is something for you to explain. Wikipedia http://en.wikipedia.org/wiki/Incomplete_gamma_function distinguishes them, as does MathWorld. I suggest you add a clarification

[R] non-linear fitting (nls) and confidence limits

2007-09-01 Thread Joerg van den Hoff
behind this approach is? 2. am I right to understand, that the above approach to compute `se.fit' (essentially in this compact form proposed by p. daalgaard on r-help some time ago) is erroneous (for weighted nls) in computing the confidence limits and that I have to undo the multiplication by sqrt

Re: [R] why doesn't as.character of this factor create a vector ofcharacters?

2007-09-01 Thread Michael Lachmann
Bob Joe It is quite obvious why it is so complicated to untangle these. I think the best way would be: one.line- sapply(df[df$a==Abraham,],as.character) Michael -Original Message- From: r-help-bounces_at_stat.math.ethz.ch [mailto:r-help-bounces_at_stat.math.ethz.ch] On Behalf Of Andrew Yee

[R] genoud problem

2007-09-01 Thread Shubha Vishwanath Karanth
Hi R users, genoud function of rgenoud package will optimize my function. If opt = genoud(fn,2,max=TRUE,starting.value=c(1,10),) opt$value will give the optimized value of the function, fn. My problem is from the same opt, can I get the value of the function at the initial

[R] ls.str

2007-09-01 Thread Cathy Vascus
I try to use ls.str to return a character object (at) in an attached data frame, folder, like so: ls.str(pos=folder, pattern=at, envir=as.environment(folder)) R accepts the command but returns nothing. Does this make sense to anyone? Actually, what I want is the position (row and column #'s

Re: [R] why doesn't as.character of this factor create a vector ofcharacters?

2007-09-01 Thread Michael Lachmann
Bob Joe It is quite obvious why it is so complicated to untangle these. I think the best way would be: one.line- sapply(df[df$a==Abraham,],as.character) Michael -Original Message- From: r-help-bounces_at_stat.math.ethz.ch [mailto:r-help-bounces_at_stat.math.ethz.ch mailto:r-help

[R] Comparing transform to with

2007-09-01 Thread Muenchen, Robert A (Bob)
37996-0520 Voice: (865) 974-5230 FAX: (865) 974-4810 Email: [EMAIL PROTECTED] Web: http://oit.utk.edu/scc, News: http://listserv.utk.edu/archives/statnews.html __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

Re: [R] Excel

2007-09-01 Thread Ted Harding
. E-Mail: (Ted Harding) [EMAIL PROTECTED] Fax-to-email: +44 (0)870 094 0861 Date: 31-Aug-07 Time: 22:54:32 -- XFMail -- __ R-help

[R] Importing huge XML-Files

2007-09-01 Thread Alexander Heidrich
Dear all, for my diploma thesis I have to import huge XML-Files into R for statistical processing - huge means a size about 33 MB. I'm using the XML-Package version 1.9 As far as reading the complete file into R via xmlTreeParse doesn't work or is too slow, I'm trying to use xmlEventParse

Re: [R] Comparing transform to with

2007-09-01 Thread Peter Dalgaard
of Copenhagen Denmark Ph: (+45) 35327918 ~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 __ 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] Question on shardsplot

2007-08-31 Thread ebi
= iris,label = TRUE) legend(3.5,14.3, col = rainbow(3), xjust =0.5, yjust = 0,legend = levels(iris[, 5]),pch = 16, horiz = TRUE) par(opar) Ebi [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https

[R] Bugreport on integration of Sweave and latex beamer

2007-08-31 Thread Ajay Shah
. ! Paragraph ended before [EMAIL PROTECTED] was complete. to be read again \par l.60 \end{frame} ? I transplanted the R code from bugdemo.Rnw into an ordinary latex article context, and everything works fine. Hence, I'm sure it's something to do with the integration

Re: [R] How to measure mode (central tendancy)

2007-08-31 Thread Thomas Petzoldt
deleted]] __ 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 provide commented, minimal, self-contained, reproducible code

Re: [R] boxplot will remember the factor levels

2007-08-31 Thread Petr PIKAL
Try: boxplot(mLength ~ puntar[drop=T],data=test) -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 30/08/2007, Luis Ridao Cruz [EMAIL PROTECTED] wrote: R-help, I'm trying to do a simple box-and-whisker plot to some data. The data are a subset

Re: [R] Excel

2007-08-31 Thread jiho
;). JiHO --- http://jo.irisson.free.fr/ __ 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 provide commented, minimal, self-contained

[R] Studio 11 compiling of Rmath standalone versus compiling R

2007-08-31 Thread Louisell, Paul
installed the Sun Studio 11 compilers. 3) I've successfully built and tested R 2.5.1 with Studio 11--all the make checks were successful as were my own tests. 4) The README to the Rmath standalone library warns that mlutils.c _cannot_ be compiled with Sun's cc compiler because it can't do compile

Re: [R] Behaviour of very large numbers

2007-08-31 Thread willem vervoort
_ platform i386-pc-mingw32 version.string R version 2.5.1 (2007-06-27) Willem On 8/30/07, Duncan Murdoch [EMAIL PROTECTED] wrote: On 8/30/2007 12:11 PM, Martin Becker wrote: willem vervoort wrote: Dear all, I am struggling to understand this. What happens when you raise

Re: [R] mtext, picking subscript text from colnames(df)

2007-08-31 Thread Tord Snäll
Swedish University of Agricultural Sciences (SLU) P.O. 7002, SE-750 07 Uppsala, Sweden Office/Mobile/Fax +46-18-672612/+46-730-891356/+46-18-673537 E-mail: [EMAIL PROTECTED] www.nvb.slu.se/staff_tordsnall __ R-help@stat.math.ethz.ch mailing list https

Re: [R] Behaviour of very large numbers

2007-08-31 Thread Robin Hankin
(437100)i -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Excel

2007-08-31 Thread Erich Neuwirth
-4277-39464 Fax: +43-1-4277-39459 __ 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 provide commented, minimal, self-contained, reproducible

[R] Choosing the optimum lag order of ARIMA model

2007-08-31 Thread Megh Dal
Dear all R users, I am really struggling to determine the most appropriate lag order of ARIMA model. My understanding is that, as for MA [q] model the auto correlation coeff vanishes after q lag, it says the MA order of a ARIMA model, and for a AR[p] model partial autocorrelation vanishes

[R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread Ptit_Bleu
. x-list(LETTERS[1:5], LETTERS[10:20]) x [[1]] [1] A B C D E [[2]] [1] J K L M N O P Q R S T -- View this message in context: http://www.nabble.com/Problem-of-vocabulary-%3A-retrieve-element-of-a-list-of-a-list-tf4358872.html#a12422479 Sent from the R help mailing list archive at Nabble.com

Re: [R] Choosing the optimum lag order of ARIMA model

2007-08-31 Thread Prof Brian Ripley
On Fri, 31 Aug 2007, Megh Dal wrote: Dear all R users, I am really struggling to determine the most appropriate lag order of ARIMA model. My understanding is that, as for MA [q] model the auto correlation coeff vanishes after q lag, it says the MA order of a ARIMA model, and for a AR[p

Re: [R] Excel

2007-08-31 Thread Erich Neuwirth
downloaded the latest version of the R dcom server etc from CRAN (version 2.5, I had looked at the previous version, but wanted to try the latest version (I will be responding to your e-mail, just wanted to test some things rather than speak from ignorance (not that I always take that approach

Re: [R] Question on shardsplot

2007-08-31 Thread Uwe Ligges
[, 5]),pch = 16, horiz = TRUE) par(opar) Ebi [[alternative HTML version deleted]] __ 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] Adding new points to a metaMDS ordination (vegan pkg)

2007-08-31 Thread Jari Oksanen
Simon Goring sgoring at sfu.ca wrote: Hi, I've been using R for a while now but I've got a problem with metaMDS (in the vegan package) that I can't quite figure out. I have a set of proportion data (from 0-1, rows sum to 1) that I apply metaMDS to using the command: nMDS.set=metaMDS

Re: [R] Single plot multiple levels in x?

2007-08-31 Thread Jim Lemon
-150K),3)) mtext(c(NSW,QLD,VIC),side=1,line=3,at=c(2,5,8)) and it is a great boon to R-helpers to have data, even fake like the above. Jim __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

Re: [R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread jiho
from a list x[[1]][4] will get you the D. but I a sure you would have found out if you read the manual carefully. maybe you should read an R introduction and practice on the examples there rather than go straight into your own data. It would take a week at most and is very rewarding

Re: [R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread Felix Andrews
, for example, the D of the first list ? Thanks in advance, Ptit Bleu. x-list(LETTERS[1:5], LETTERS[10:20]) x [[1]] [1] A B C D E [[2]] [1] J K L M N O P Q R S T -- View this message in context: http://www.nabble.com/Problem-of-vocabulary-%3A-retrieve-element-of-a-list-of-a-list-tf4358872

Re: [R] Barplot2 using for loop, how to adjust margins?

2007-08-31 Thread Lauri Nikkinen
) dev.copy(png, filename=paste(i, .png, sep=), height=400, width=480) dev.off() par(opar) } Cheers, Lauri 2007/8/30, Marc Schwartz [EMAIL PROTECTED]: On Thu, 2007-08-30 at 20:13 +0300, Lauri Nikkinen wrote: Hi R-users, I inted to make multiple plots using for loop

Re: [R] possible bug in vars package (predict.varest) ???

2007-08-31 Thread Pfaff, Bernhard Dr.
it? Is there a way I can get to the predict.varest() function and alter it myself? Thanks, Spencer [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http

Re: [R] t-test within tapply

2007-08-31 Thread Gustaf Rydevik
) ) eggfun-function(x){ print(t.test(x$EggSize~x$Replicate)) } by(eggdata,eggdata$Ind,eggfun) - /Gustaf -- Gustaf Rydevik, M.Sci. tel: +46(0)703 051 451 address:Essingetorget 40,112 66 Stockholm, SE skype:gustaf_rydevik __ R-help

Re: [R] xeon processor and ATLAS

2007-08-31 Thread Bjørn-Helge Mevik
1000 variables, and in NMR or MS, you easily get spectra with 2 variables. You seldom get 1000 spectra, though. :-) 10 to 100 is more common. -- B/H __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] opinion poll: do you need interactive 3D histogram into a pdf?

2007-08-31 Thread Bruno C\.
to do that, via some proof of concept code. Now, I could turn my proof of concept code into an R package (of course some extrawork is needed for that). The resulting package would work approximaty like persp but with the advantage of an interactive window from where the user could turn the model

Re: [R] Problem of vocabulary : retrieve element of a list of a list

2007-08-31 Thread Ptit_Bleu
In fact I read R pour les debutants by Emmanuel Paradis but I didn't find the solution. Then I looked for on R-Help with no result. Again I do aplologize for this silly question and I thank you for the solution (second one). Ptit Bleu (who won't send others silly questions in the future) jiho

[R] Histogram

2007-08-31 Thread squall44
: http://www.nabble.com/Histogram-tf4359093.html#a12423193 Sent from the R help mailing list archive at Nabble.com. __ 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

Re: [R] Assigning line colors in xyplot

2007-08-31 Thread Christof Bigler
__ 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 provide commented, minimal, self-contained, reproducible code.

[R] Re : Histogram

2007-08-31 Thread justin bem
(5, 0, 5.5, 0.2, col = grey); Justin BEM BP 1917 Yaoundé Tél (237) 99597295 (237) 22040246 - Message d'origine De : squall44 [EMAIL PROTECTED] À : r-help@stat.math.ethz.ch Envoyé le : Vendredi, 31 Août 2007, 10h15mn 55s Objet : [R] Histogram Hello, Although I've done lots

Re: [R] Histogram

2007-08-31 Thread Gustaf Rydevik
address:Essingetorget 40,112 66 Stockholm, SE skype:gustaf_rydevik __ 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 provide commented, minimal, self

Re: [R] Excel

2007-08-31 Thread Jim Lemon
astrology? Yes, Rolf, if you want them to understand you. I once wrote a very successful parody of those astrology character profiles simply by borrowing an acquaintance's book and making dreadfully irreverent use of it. Jim __ R-help@stat.math.ethz.ch

Re: [R] Bugreport on integration of Sweave and latex beamer

2007-08-31 Thread Duncan Murdoch
-dist/tex/latex/ae/t1aett.fd) Runaway argument? prices - cbind(mydb(macro, nifty, freq = w), mydb(firm.pric\ETC. ! Paragraph ended before [EMAIL PROTECTED] was complete. to be read again \par l.60 \end{frame} ? I transplanted the R code from

Re: [R] retrieve p-value from a cox.obj

2007-08-31 Thread Bernardo Rangel Tura
to get p-value from obj? thanks, Hi Clearsky try: summary(obj)$waldtest[3] -- Bernardo Rangel Tura, M.D,Ph.D National Institute of Cardiology Brazil __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] Bug?

2007-08-31 Thread Johanna Hasmats
Hi! How can I get around in R 2.5.1 in Windows: Error in strsplit(linebuffer, ) : object linebuffer not found It comes a few lines after the actual strsplit, and yesterday everything was fine… Thank you in advance Kindest regards

Re: [R] Bug?

2007-08-31 Thread Uwe Ligges
Johanna Hasmats wrote: Hi! How can I get around in R 2.5.1 in Windows: Error in strsplit(linebuffer, ) : object linebuffer not found Why should this be a bug in R, if you have no object named linebuffer in the environments that are on the search path. Uwe Ligges

Re: [R] Single plot multiple levels in x?

2007-08-31 Thread Richard Yanicky
Uwe, Here is some code to create some data then a plot (The plot was done in another package). The plot is included only to reference the structure of the x-axis. I can't get R to do something similar. State - seq (1:5); posi - seq (0.5,62525,199.233) mydf-NULL; for ( i in 1:5) { df1

[R] R and Windows Vista

2007-08-31 Thread Jan Budczies
Hello group, it is reported (R for Windows FAQ) that R runs under Windows Vista. However, does someone here have experience with R under Vista 64 and large (3 or 4 GB) memory? Greeting - Jan Budczies [[alternative HTML version deleted

[R] Incomplete Gamma function

2007-08-31 Thread [EMAIL PROTECTED]
Hello I am trying to evaluate an Incomplete gamma function in R. Library Zipfr gives the Igamma function. From Mathematica, I have: Gamma[a, z] is the incomplete gamma function. In[16]: Gamma[9,11.1] Out[16]: 9000.5 Trying the same in R, I get Igamma(9,11.1) [1] 31319.5 OR Igamma(11.1,9

Re: [R] R-help Digest, Vol 54, Issue 30

2007-08-31 Thread David Duffy
/ * | Epidemiology Unit, Queensland Institute of Medical Research \_,-._/ | 300 Herston Rd, Brisbane, Queensland 4029, Australia GPG 4D0B994A v __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Center of Gravity

2007-08-31 Thread daiconnie
Is there any package or function in R can calculate the coordinates of gravity centre for a 2-D arbitrary shape?? Suppose the x and y coordinates of my shape is x y 1 -12 30.4 45 2 Thanks! _ Windows Live Custom Domain

[R] memory.size help

2007-08-31 Thread dxc13
VALUES for(x in 1:nrow(xk)) { k - intersect(i1[x,], i2[x,]) zk[x] - mean(unlist(k), na.rm = TRUE) } xk$zk - zk data - na.omit(xk) -- View this message in context: http://www.nabble.com/memory.size-help-tf4359846.html#a12425401 Sent from the R help mailing list archive at Nabble.com

[R] size limitations in R

2007-08-31 Thread Fabiano Vergari
I am a SAS user currently evaluating R as a possible addition or even replacement for SAS. The difficulty I have come across straight away is R's apparent difficulty in handling relatively large data files. Whilst I would not expect it to handle datasets with millions of records, I still really

Re: [R] Rserve: Accessing images

2007-08-31 Thread Bartjoosen
Take a look at the EBImage package at bioconductor: http://bioconductor.org/packages/2.0/bioc/html/EBImage.html Bart mimo-2 wrote: Hi, Are there more sophisticated means to access R-images via Rserve than: Rconnection c=new Rconnection(127.0.0.1); REXP xp=c.eval(try(png(\test.png

Re: [R] Incomplete Gamma function

2007-08-31 Thread Robin Hankin
in R. Library Zipfr gives the Igamma function. From Mathematica, I have: Gamma[a, z] is the incomplete gamma function. In[16]: Gamma[9,11.1] Out[16]: 9000.5 Trying the same in R, I get Igamma(9,11.1) [1] 31319.5 OR Igamma(11.1,9) [1] 1300998 I know I have to understand the theory

Re: [R] R and Windows Vista

2007-08-31 Thread Uwe Ligges
Jan Budczies wrote: Hello group, it is reported (R for Windows FAQ) that R runs under Windows Vista. However, does someone here have experience with R under Vista 64 and large (3 or 4 GB) memory? There is no 64-bit version of R for Windows available now. Mainly because

Re: [R] Assigning line colors in xyplot

2007-08-31 Thread hadley wickham
__ 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 provide commented, minimal, self-contained, reproducible code.

<    1   2   3   4   5   6   7   8   9   10   >