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
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]
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.
] 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
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
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
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
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,
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
-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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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,
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
101 - 132 of 132 matches
Mail list logo