Re: [R] R-Project: Graphic/3-D capabilites and information...

2003-11-16 Thread Duncan Murdoch
On Sat, 15 Nov 2003 23:25:12 -0500, you wrote: Greetings, and Salutations to the wonderful people of the R-Project!!! I have a question: There is are images on the Screenshots page of the r-project home :: ... Information I would like to have would be: How were these images created

Re: [R] an object of class lm returned by lm?

2003-11-16 Thread Roger Bivand
On Sat, 15 Nov 2003, Jill Caviglia-Harris wrote: Duncan: Thanks for your response. I actually tried this as well. The error message I get is objects of different length I thought I was chosign the model incorrectly, perhaps this is something else? The error message is caused by a

[R] Mixtures of Von-mises distributions

2003-11-16 Thread Saint-Jean Christophe
Dear all, I would like to fit a von mises mixture to my data using the EM Algorithm. Unfornately, existing packages (including circstats) doesn't provide such method. So, does anybody have written such code ? Big thanks, Christophe, (R newbie)

Re: [R] Mixtures of Von-mises distributions

2003-11-16 Thread Prof Brian Ripley
Why do you want to use the EM `algorithm'? It will be easier to directly maximize the log likelihood, and that is a 5-mins job in R. Take a look at the examples in MASS4 ch 16 (and see the books in the FAQ or the scripts in the MASS package). On Sun, 16 Nov 2003, Saint-Jean Christophe wrote:

Re: [R] A suggestion regarding multiple replies

2003-11-16 Thread Peter Flom
I like the current method. It allows discussion to flourish, and prevents (to some extent) the phenonmenon of a single question generating 50 nearly identical replies (usually when it's a syntax question which many people know the answer to). Peter Peter L. Flom, PhD Assistant Director,

[R] Newbie: Barchart Gray with White Grid?

2003-11-16 Thread Tom Hopper
Hello, I'm just getting in to R, been reading manuals (thanks to all who provided pointers to good docs!), and messing with different commands. I'd appreciate a little help with this exploration, and I hope that my question is relatively easy to answer (probably, there's a simple way to do

[R] Other fixed-width fonts like courier?

2003-11-16 Thread Andreas Lackner
Hi, does R have any other fixed width fonts next to courier (font=11)? Thanks Andreas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Peter Flom Gesendet: Sonntag, 16. November 2003 13:52 An: [EMAIL PROTECTED]; [EMAIL PROTECTED] Betreff: Re:

RE: [R] Newbie: Barchart Gray with White Grid?

2003-11-16 Thread Adaikalavan RAMASAMY
The examples in help(hist) and help(barplot) uses the argument col='gray' etc to set the color of the barplots/histograms. As for grids, the following may help tN - table(Ni - rpois(100, lambda=5)) r - barplot(tN, col=gray, xaxt=n) # alternatively hist(Ni, col=gray, freq=T) abline(

RE: [R] Newbie Help:: Honors Chem. Project:: How to use R instead of JMP IN and GraphicalAnalysis...

2003-11-16 Thread Adaikalavan RAMASAMY
See the Manual or Publications under http://www.r-project.org/. Books with ref [4] and [9] under publications might be of interest. -Original Message- From: [EMAIL PROTECTED] on behalf of Aaron Snail:Lewis Dinkin Sent: Sun 11/16/2003 1:04 PM To:

[R] help with EMclust

2003-11-16 Thread Sreedevi Gopalan
we have implemented teh following code for determinging the clustering model of a dataset. bicvals - EMclust( hdata, 7) sumry1 - summary(bicvals, hdata,7) # summary object for emclust() print(sumry1) This set of code gives the following output classification table: 1 2 3 4 5 6 7 1 1 1 4

Re: [R] correlation and causality examples

2003-11-16 Thread Michael Friendly
My favorite example on correlation !- causation is data from Yule Kendall on the relationship between number of licenses for radios and the number of people classified as 'mental defectives' in England and Wales from 1924-37 Of course, both were increasing over time, the latter due to increase

[R] SE of ANOVA (aov) with repeated measures and a bewtween-subject factor

2003-11-16 Thread Karl Knoblick
Hallo! I have data of the following design: NSubj were measured at Baseline (visit 1) and at 3 following time points (visit 2, visit 3, visit 4). There is or is not a treatment. Most interesting is the question if there is a difference in treatment between the results of visit 4 and baseline.

Re: [R] correlation and causality examples

2003-11-16 Thread Andrew Criswell
Hi all: And then there's the classic case of higher frequency of cases with coronary heart disease in Arizona than NYC. Does that support the hypothesis that cleaner air causes CHD or that those with CHD choose Arizona for its cleaner air? ANDREW

Re: [R] help with EMclust

2003-11-16 Thread Sundar Dorai-Raj
Sreedevi Gopalan wrote: we have implemented teh following code for determinging the clustering model of a dataset. bicvals - EMclust( hdata, 7) sumry1 - summary(bicvals, hdata,7) # summary object for emclust() print(sumry1) This set of code gives the following output classification

Re: [R] SE of ANOVA (aov) with repeated measures and a bewtween-subject factor

2003-11-16 Thread Spencer Graves
Have you looked at Pinhiero and Bates (2000) Mixed-Effects Models in S and S-Plus (Springer)? Bates and his graduate students, including Pinhiero, wrote lme. This book has good examples that helped me solve problems like this. hope this helps. spencer graves Karl Knoblick wrote: Hallo!

Re: [R] Other fixed-width fonts like courier?

2003-11-16 Thread Sundar Dorai-Raj
Andreas Lackner wrote: Hi, does R have any other fixed width fonts next to courier (font=11)? Thanks Andreas (Please create a new email message when posting to the list rather than replying to a previous message and simply changing the subject line.) As for your question, take a look at

[R] na.rm default

2003-11-16 Thread Broyles, Stephanie
Is there a way to set na.rm=TRUE as a default, so that this does not have to be re-specified for all of the functions requiring this option? Thanks in advance, Stephanie Broyles [EMAIL PROTECTED] [[alternative HTML version deleted]] __

Re: [R] na.rm default

2003-11-16 Thread Marc Schwartz
On Sun, 2003-11-16 at 11:26, Broyles, Stephanie wrote: Is there a way to set na.rm=TRUE as a default, so that this does not have to be re-specified for all of the functions requiring this option? Thanks in advance, Stephanie Broyles [EMAIL PROTECTED] I will stand to be corrected on this,

[R] prevent conversion to factors in aggregate?

2003-11-16 Thread Dieter Menne
Spencer Graves wrote I don't know how to prevent aggregate from making factors of everything, but the following shows how to cast them back into what you want: DF.$bch - as.character(DF.$b) DF.$dn - as.numeric(as.character(DF.$d)) sapply(DF., class) ... help(factor) suggests: To

[R] Legend position in barplots

2003-11-16 Thread Andreas Lackner
Hello! Is there a way to change the position of the legend created in a barplot from the right side of the plot to the left side or somewhere else? Thanks Dipl.-Kfm. Andreas Lackner Universität Göttingen Institut für Wirtschaftsinformatik, Abtl. I Prof. Dr. Jörg

[R] Re: prevent conversion to factors in aggregate?

2003-11-16 Thread Jeff D. Hamann
Ah ha! That's perfect. It would have taken me forever to get that. And I'm back in business Thanks, Jeff. - Original Message - From: Dieter Menne [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; R-Help [EMAIL PROTECTED] Sent: Sunday, November 16, 2003 10:23 AM Subject:

Re: [R] Legend position in barplots

2003-11-16 Thread Marc Schwartz
On Sun, 2003-11-16 at 12:42, Andreas Lackner wrote: Hello! Is there a way to change the position of the legend created in a barplot from the right side of the plot to the left side or somewhere else? Thanks Yes...instead of specifying 'legend.text' in barplot, use the legend() function,

[R] Error when calling a dll procedure

2003-11-16 Thread Bernd Holleczek
Dear experts, I am a beginner in R and try to build dlls (Win XP, MinGW, R 1.7.1). So far, I have managed to create and to use some dlls with C code which worked properly. Now I am stuck with a dll containing C++ code. I have included some part of the source code (of an implementation of a

Re: [R] Error when calling a dll procedure

2003-11-16 Thread Duncan Temple Lang
Hi Bernd. When you compile the code with a C++ compiler, it mangles the name getPrimes into something that has type information (to allow other routines with the same name but different signatures). You need to tell the compiler not to do this. And you use extern C to declare it as a regular C

[R] Error when calling a dll procedure

2003-11-16 Thread Bernd Holleczek
Dear experts, I am a beginner in R and try to build dlls (Win XP, MinGW, R 1.7.1). So far, I have managed to create and to use some dlls with C code which worked properly. Now I am stuck with a dll containing C++ code. I have included some part of the source code (of an implementation of a

Re: [R] Error when calling a dll procedure

2003-11-16 Thread Prof Brian Ripley
You seem to have asked that twice in 8 minutes! See `Writing R Extensions', the section on `Interfacing C++ code'. Or section 7.5 of the rw-FAQ. There are worked examples there: please do not ignore the R documentation. On Sun, 16 Nov 2003, Bernd Holleczek wrote: I am a beginner in R and try

Re: [R] Initial size of graphics window

2003-11-16 Thread Paul Murrell
Hi Remington, Richard wrote: Wolfgang Zocher wrote: Hi, using par() a window is opened which is too large for my monitor. Is there any chance to change the size of this window? Thanks, Wolfgang __ [EMAIL PROTECTED] mailing list

[R] DOE support in R and fac.design

2003-11-16 Thread Nirmal Govind
Hi, I've searched through the contributed packages and found conf.design which supports factorial design generation - is there any way to specify the values of the levels in the functions in this library? Currently the default for 2 level designs are the levels 0 and 1. Reason I ask is I'd

[R] graphics reset

2003-11-16 Thread Murad Nayal
Hello, Is there a specific command to clear the graphics window. On occasion I need to construct plots using commands that don't clear the graphics window (like text, lines and points etc.) -only- and hence need to clear the graphics completely before hand. also, is there a way to restore the

Re: [R] DOE support in R and fac.design

2003-11-16 Thread Prof Brian Ripley
On Sun, 16 Nov 2003, Nirmal Govind wrote: I've searched through the contributed packages and found conf.design which supports factorial design generation - is there any way to specify the values of the levels in the functions in this library? Currently the default for 2 level designs are

Re: [R] graphics reset

2003-11-16 Thread Duncan Murdoch
On Sun, 16 Nov 2003 17:19:29 -0500, you wrote: Hello, Is there a specific command to clear the graphics window. On occasion I need to construct plots using commands that don't clear the graphics window (like text, lines and points etc.) -only- and hence need to clear the graphics completely

Re: [R] DOE support in R and fac.design

2003-11-16 Thread Nirmal Govind
Thanks for your reply Prof. Ripley. It is very easy to change the levels of a factor by levels-(): see its help page. Great.. thanks. charge-coupled device? Probably central composite design -- not that I know of. Yes, I meant central composite design ... conf.design was ported from S, which

[R] gradient option in 'nlm' function

2003-11-16 Thread yuanji
FONT face=Default Sans Serif, Verdana, Arial, Helvetica, sans-serif size=2DIVDear list members,/DIVDIVnbsp;/DIVDIVI am trying to use nlm function to maximize a mixture likelihood of beta densities. There are five unknown parameters in the likelihood. Since I can get the analytic gradient, I

[R] Newbie question

2003-11-16 Thread Gopal Annasundaram
I'm trying to find a good open source software to do sales forecasting using Holt Winters and Box Jenkins time series algorithm. Somebody pointed me that R is the best open source available for statistical computing. Are there functions to do Holt Winters and Box Jenkins time series prediction

Re: [R] Newbie question

2003-11-16 Thread Dirk Eddelbuettel
On Sun, Nov 16, 2003 at 07:25:14PM -0800, Gopal Annasundaram wrote: I'm trying to find a good open source software to do sales forecasting using Holt Winters and Box Jenkins time series algorithm. Somebody pointed me that R is the best open source available for statistical computing. Are

Re: [R] Newbie question

2003-11-16 Thread Spencer Graves
R can apparently handle it, according to www.r-project.org - search - R site search. hope this helps. spencer graves Gopal Annasundaram wrote: I'm trying to find a good open source software to do sales forecasting using Holt Winters and Box Jenkins time series algorithm. Somebody pointed me

RE: [R] A suggestion regarding multiple replies

2003-11-16 Thread Adaikalavan RAMASAMY
I like the list the way it is and am grateful for all the email I get everyday. If an alternative is required, perhaps forums (e.g. http://forums.devshed.com/) could be considered but then everyone has to make an effort to visit the websites instead of getting the questions delivered in their