RE: [R] how R parses expression?

2004-12-06 Thread Mulholland, Tom
I'm not really sure exactly what you are getting at. Much of R's functionality is built using the R language itself. If you are looking to interface with other languages you might want to start with the Writing R Extensions manual which has a section on The R API: entry points for C code. If

RE: [R] tree class in R?

2004-12-05 Thread Mulholland, Tom
Have you had a look at the rpart package? If you haven't installed it it may be worth doing so. Then you can type require(rpart) ?rpart.object Tom -Original Message- From: DFARRAR [mailto:[EMAIL PROTECTED] Sent: Monday, 6 December 2004 11:09 AM To: [EMAIL PROTECTED] Subject: [R]

RE: [R] factor matrix

2004-12-02 Thread Mulholland, Tom
I'm not sure, but is this what you want matrix(as.numeric(factor(c(T,F,F,T))), 2,2) Tom Mulholland -Original Message- From: Adrian Baddeley [mailto:[EMAIL PROTECTED] Sent: Friday, 3 December 2004 1:45 PM To: [EMAIL PROTECTED] Subject: [R] factor matrix Sorry if this is a FAQ.

RE: [R] factor matrix

2004-12-02 Thread Mulholland, Tom
] TRUE FALSE FALSE TRUE Levels: FALSE TRUE -Original Message- From: Adrian Baddeley [mailto:[EMAIL PROTECTED] Sent: Friday, 3 December 2004 2:44 PM To: Mulholland, Tom Cc: [EMAIL PROTECTED] Subject: RE: [R] factor matrix matrix(as.numeric(factor(c(T,F,F,T))), 2,2

RE: [R] Protocol for answering basic questions

2004-12-01 Thread Mulholland, Tom
I would support the notion that there is no defined point, after which you do not need to ask basic questions. I would not like the list to be split. There is no need to change anything fundamental. I do not believe that it is rude to expect people to put effort into ensuring that they are not

RE: Reasons not to answer very basic questions in a straightforward way; was: Re: [R] creating a sequence of object names

2004-11-29 Thread Mulholland, Tom
Your statement seems innocent enough on the face of it, but there are two facets that I think are worthy of note. The first is that of time, and more specifically who's time. As a user of other lists I can say that this is the best list in terms of getting the answer to my problem, albeit

[R] RE: Adding a line in the graph of 'plot()'

2004-11-28 Thread Mulholland, Tom
The general nature of your question means there are a multitude of answers. if you type '?abline' it will give you an example of a line drawn over a plot. type ?segments, ?lines, ?points, ?text and go through the examples and try them out The help pages to the base package 'grid' includes an

RE: [R] Response Surface

2004-11-25 Thread Mulholland, Tom
type ?wireframe rather than wireframe() Tom Mulholland -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, 26 November 2004 12:36 PM To: [EMAIL PROTECTED] Subject: [R] Response Surface Hi. I'm a student at Simon Fraser University in British Columbia,

RE: [R] barplot(2?) with CI from a zero reference line

2004-11-25 Thread Mulholland, Tom
I didn't know how to do this but I knew it had to been asked about. Try getS3method(barplot2,default) Make sure you've loaded gplots. I guessed default, but I wonder how you would find out the class if it had been something else. I guess that's something to work on when I'm next twiddling my

RE: [R] How to correct this

2004-11-22 Thread Mulholland, Tom
-Original Message- From: Paul Murrell [mailto:[EMAIL PROTECTED] Sent: Tuesday, 23 November 2004 3:05 AM To: Mulholland, Tom Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [R] How to correct this Hi Mulholland, Tom wrote: Taking note of the first post, this is what I assume you

RE: [R] Running R from CD?

2004-11-22 Thread Mulholland, Tom
I have noticed that R 2.0 did run slower than I thought it should. It's only now that you've raised the issue that I realise how much slower. However since I only use the CD when I am working on other people's machines I can't really say if there are other factors impacting upon the

RE: [R] How to correct this

2004-11-21 Thread Mulholland, Tom
: Mulholland, Tom [mailto:[EMAIL PROTECTED] Sent: Monday, 22 November 2004 12:29 P To: Li, Jin (CSE, Atherton) Subject: RE: [R] How to correct this I think you need to create a complete set of code that can be replicated by anyone trying to help. I ran the three grid.circle commands on my current

RE: [R] How to plot this

2004-11-16 Thread Mulholland, Tom
If this is a quick and dirty process you want rather than learning all the capabilities that are in R then I would copy the density curve (or the bits you like) into your favourite image editor, and use it's capabilities to pretty it up. However there are a number of options. Firstly you have

RE: [R] How to updating R to the newest version conveniently

2004-11-11 Thread Mulholland, Tom
I've seen various answers to this question and there does not seem to be a single best way. I use a separate library for downloaded packages. In windows I set the R_LIBS environment variable. See the usual suspects such as the appropriate FAQ and the r-admin pdf file. On the exisitng

RE: [R] Lattices: Cloud: Background

2004-01-15 Thread Mulholland, Tom
When I first started using lattice I found the colour schemes a bit confusing. So eventually I came up with the colours I wanted. The code below was one of those attempts. One thing that happened however was that I kept shutting down the graphics window that pops up and the colours would revert

[R] Is there an R or S implementation of PAMSIL or PAMMEDSIL

2003-12-23 Thread Mulholland, Tom
I have some data that is dwarfed by one large cluster. I came across a paper titled A New Partitioning Around Medoids Algorithm (van der Laan, Pollard Bryan, 2002) http://www.bepress.com/ucbbiostat/paper105/ that describes PAMSIL and PAMMEDSIL that look as though they might be more appropriate

RE: [R] draft of posting guide

2003-12-22 Thread Mulholland, Tom
I think there will always be disagreement when commenting about the appropriateness of social behaviour. So I think we will do well to understand the purpose of any proposed posting guide. It is not clear to me where the list is going with regards to this topic. If the aim is to produce a

RE: [R] mailing list for basic questions - preliminary sum up

2003-12-17 Thread Mulholland, Tom
the way they are) Tom Mulholland Tom Mulholland Associates Please see Eric Raymond's How To Ask Questions The Smart Way (http://www.catb.org/~esr/faqs/smart-questions.html). (One of these days I shall take up Martin's suggestion and write an entry for R-FAQ pointing to it. The problem

RE: [R] read.spss question warning compression bias

2003-12-14 Thread Mulholland, Tom
So it would appear that if the above is correct, there is no user adjustment to the bias value. The only scenario that I can envision is if the user SAVE's the .sav file in an uncompressed format, where the bias value **might** be set to 0. Perhaps a r-help reader with access to current SPSS

RE: [R] hdf library for windows

2003-11-30 Thread Mulholland, Tom
The question puzzled me at first, because of your use of library. It looks as if the hdf5 r package utilises the windows hdf5 library binary. My reading is that you will have to compile the package yourself after you have downloaded the hdf windows dll from hdf.ncsa.uiuc.edu The instructions are

RE: [R] A suggestion regarding multiple replies

2003-11-17 Thread Mulholland, Tom
As with most of the replies so far, I enjoy the way the list works. A couple of observations however are that it is evident that off list replies already happen and imho more importantly is the fact that initially quite straightforward queries can turn into something much more interesting. I find

RE: [R] upgrading R

2003-10-09 Thread Mulholland, Tom
This has been discussed with previous upgrades. One such discussion was How to update installed packages to a new version of R?. http://finzi.psych.upenn.edu/R/Rhelp02/archive/8316.html There are a variety of methods to choose from. You may also learn about updating packages directly from the net

RE: [R] Re: diamond graphs, patents and rootograms

2003-08-28 Thread Mulholland, Tom
Talking about Excel, you can produce excellent graphs in Excel. Yes you have to work at it, but you can get there. The problem is that they are not the default. My gut feeling is that R will make more of an impact in the presentation of graphics than any implementation in Excel. So even if a

RE: [R] R tools for large files

2003-08-26 Thread Mulholland, Tom
As some of the conversation has noted the 30 second mark as an arbitrary benchmark I would also chime in that there is also an assumption that any non-R related issues that impact upon being able to usefully use R should be ignored. In the real world we can't always control everything about our

RE: [R] Boosting,bagging and bumping. Questions about R tools and predictions.

2003-07-22 Thread Mulholland, Tom
http://www.boosting.org/publications.html I found some of the papers on this page useful in understanding the concepts you refer to. I will leave it to the better informed members of the group to talk about the packages that relate to this field. -Original Message- From: [EMAIL

[R] Recode from 2 variables

2003-07-17 Thread Mulholland, Tom
I am trying to create a new variable which uses the suburb names if HR and HRRES are the same but which uses HRRES if they are different. Any assistance would be appreciated as my brain has just packed up. I'm not sure I can teach myself anymore new tricks this afternoon. HR

RE: [R] Recode from 2 variables

2003-07-17 Thread Mulholland, Tom
PROTECTED] Sent: Thursday, 17 July 2003 4:27 PM To: Mulholland, Tom Cc: [EMAIL PROTECTED] Subject: Re: [R] Recode from 2 variables Hi On 17 Jul 2003 at 16:17, Mulholland, Tom wrote: I am trying to create a new variable which uses the suburb names if HR and HRRES are the same but which uses

RE: [R] postscript/eps label clipping

2003-07-11 Thread Mulholland, Tom
I guess I was wrong there. However it does seem that it will come down to fontsize 9 without clipping (or if it does I find it hard to see). -Original Message- From: Mulholland, Tom Sent: Friday, 11 July 2003 1:38 PM To: David Forrest; [EMAIL PROTECTED] Subject: RE: [R] postscript/eps

RE: [R] postscript/eps label clipping

2003-07-10 Thread Mulholland, Tom
Never having used postscript as an output method I looked to see what you were talking about. I noted that ps.options needs to be called before calling postscript. ps.options does have pointsize within it and silly though it may seem, its what I would do next.

RE: [R] Generating a vector for breaks in a histogram

2003-07-06 Thread Mulholland, Tom
My gut feeling is that stacked dotplots would have given you the same insight. In general terms it's about getting the right tool for the right job. My comment was about the order of choosing rather than ignoring totally. If I recall correctly the article about dot plots was about old fashioned

RE: [R] Generating a vector for breaks in a histogram

2003-07-03 Thread Mulholland, Tom
One of my discoveries while learning the art of R, is that time has moved on since I did my basic statistics in school (although to my dismay the teaching of statistics in school appears also to have not noticed the movement.) I have seen a few references when people want to pie chart something,

[R] Strip location and grid colour in Lattice

2003-06-04 Thread Mulholland, Tom
I am probably missing something quite obvious, but any help would be appreciated. I am continually getting people misreading the lattice plots because they are expecting the strip (with the factor names in them) to be below the graph. Is there anyway of achieving this. Secondly, from a more

<    1   2