Patrick Connolly wrote:
On Sun, 01-Feb-2009 at 11:34PM -0500, Stavros Macrakis wrote:
| A first step that would make the current Web page look much better
| would be to anti-alias the demonstration graphic. The current graphic
| makes R graphics seem (falsely!) to be very primitive. I'm
Marc Schwartz marc_schwartz at comcast.net writes:
getAnywhere(function.method)
Which also works without the
getAnywhere(xtabs)
getAnywhere(xtabs)
Dieter
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
Hmm, I had not tested my solution. But that used to work. But I'm
getting the same result as you do. So maybe this is a bug in ggplot2. Is
it, Hadley?
Thierry
ir. Thierry Onkelinx
Instituut voor natuur- en
Hello.
How can I calculate the theoretical process variance of an AR-Process in R? Is
there a specific function given in any R package?
Regards,
Andreas.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
Jason Rupert wrote:
Using plotrix, is it possible to create a legend for the following and attach
it to the radial.plot?
posmat-matrix(sample(2:9,30,TRUE),nrow=3)
radial.plot(posmat,labels=paste(X,1:10,sep=),rp.type=p,
main=Spiderweb plot,line.col=2:4,show.grid=FALSE,lwd=1:3,
Hey,
I am modelling a linear regression Y=X*B+E. To compute the effect of “group”
the B-values of the regressors/columns that code the interaction effects (col.
5-8 and col. 11-14, see below) have to be weighted with non-zero elements
within the contrast Group 1 minus Group 2 (see below). My
Hell R-list,
At the cost of sounding far-fetched and almost incredulous, I would
like to know if any R user is remotely considering the use of R on
Mobile devices, and Android in particular.
I really do not have an idea of the kind of definite incentives in
terms of using R on Android, but
Hi there,
does anybody know of a good R training course or has participated in one?
Maybe also a good lecture or course at a university, where the teacher might be
willing to offer a course?
Audience:
=
3 - 5 natural scientists with programming and rudimentary statistical knowledge
Hello,
I seem to be unable to get Lam/Mpi to work with Rmpi on Debian 5. Following the
readme file, I installed the packages r-cran-rmpi and lam3 lam3-dev lam-runtime
. The lam-bhost.def is configured like this:
hn01
cn01 cpu=4
cn02 cpu=4
Lam seems to be fine with this:
lamboot -v
n-113746
Dear R-help members,
I am trying to plot annotate a filled contours plot (with filled.contour)
with a grid of points. I have read ways of annotating it with individual
points but not with grids in another matrix.
Any ideas?
Thank you very much.
Dario
You might want to try as.numeric(X), if you want to convert a factor then
you could use as.numeric(as.character(X)), where X is a variable.
Karina
On Thu, 5 Feb 2009 22:50:38, arup.pramani...@gmail.com wrote:
I am importing a dataset in R where some of the variable are numerical
and
some
Dario,
Checkout the 'plot.axes' argument to 'filled.contour'.
Michael Grant
--- On Fri, 2/6/09, Dario Martin-Benito dmar...@inia.es wrote:
From: Dario Martin-Benito dmar...@inia.es
Subject: [R] annotating a filled contours plot with a grid of points
To: r-help@r-project.org
Date: Friday,
Hi there,
additionally to the question below, how I can get data into the pdata.frame
format, I have another question:
Why doen't R recognize the function plm.data (), when calling it? I did load
the plm library before...
Greetz, Kirsten
How do I actually manage to get data into the
if you use read.table for the import, reading about the colClasses
parameter in ?read.table may help.
vQ
On Thu, 5 Feb 2009 22:50:38, arup.pramani...@gmail.com wrote:
I am importing a dataset in R where some of the variable are numerical
and
some of them are character...but
Thank you again for your response. Below is similar to what I ended up doing,
i.e. example code:
library(plotrix)
ions-c(3.2, 5.0, 2.0)
ion.names-c(Na,Ca,Mg)
radial.plot(ions, labels=ion.names, rp.type=s, start=90*(3.14159/180),
main=Dissolved ions in water, point.symbols=16,
Renaud Lancelot renaud.lancelot at gmail.com writes:
See function pip (point in polygon) in package splancs.
Renaud
2009/2/5 Rainer M Krug r.m.krug at gmail.com
On Thu, Feb 5, 2009 at 3:21 PM, Aleksandr Andreev
aleksandr.andreev at gmail.com wrote:
In R's maptools package, is
Rizzo.Michael at epamail.epa.gov writes:
I need to calculate the centroids of some spatial polygons that I have
placed into a Polygons-class object. Is the labeling point in the
Polygons-class the centroid of the polygon?
Yes. The class documentation at ?Polygons-class does not state
Yes, I think it is. I'll add it to my to do list.
Hadley
On Fri, Feb 6, 2009 at 3:30 AM, ONKELINX, Thierry
thierry.onkel...@inbo.be wrote:
Hmm, I had not tested my solution. But that used to work. But I'm getting
the same result as you do. So maybe this is a bug in ggplot2. Is it, Hadley?
There is an issue that is being overlooked here.
The read.table() family of functions use type.convert() by default
internally to determine the resultant data types of the columns going
into the data frame from the source text file. Everything read in by
read.table() starts as character and then
?dir.create
mkdir is a built-in for 'cmd.exe' (think of it like shell built-ins in
unix, vs. an actual command in $PATH)
system('cmd.exe /c mkdir foo') works, but the R command: dir.create is
what you really want.
On Thu, Feb 5, 2009 at 14:17, Aurelie Labbe, Dr.
aurelie.la...@mcgill.ca wrote:
Hi,
Okay, I have a n x p matrix X, which I know is not full rank. In
particular, there may be linear dependencies amongst the columns (but
not that many). What is a fast way of finding a linearly independent
subset of the columns of X that will span the column space of X, in R?
If it helps, I
Dears Tinn-R users,
We want to announce that a new version of Tinn-R Gui/Editor (Windows
OS) was released.
It now has a complete User Guide, a old request of the users.
The news of this version are below:
2.2.0.1 (Feb/05/2009)
* Bugs fixed:
1. Latex font Enphase was fixed. It was
Zhou Fang wrote:
Hi,
Okay, I have a n x p matrix X, which I know is not full rank. In
particular, there may be linear dependencies amongst the columns (but
not that many). What is a fast way of finding a linearly independent
subset of the columns of X that will span the column space of X,
Hi all,
can the glm package be used to estimate a logit model to panel data? I am
asking this
because stata has a standard logit model and then an xtlogit for
longitudinal data. Is there something
similar in R?
Thank you
jcm
[[alternative HTML version deleted]]
Hello All,
I have data where each feature data point is a vector, and my distance
measurement is a weighted dot product between vectors.
I would like to use R to perform a cluster analysis on this data. Does
one of the R cluster analysis routines provide for a user provided
distance function?
Hi,
I'm new in the mailing list but I would appreciate if you could help
me with this:
I have a big matrix from where I need to delete specific rows. The
second entry on these rows to delete should match any string within a
list (other file with just one column).
Thank you so much!
Laura
Ah ha, that does work.
What do you mean it isn't robust, though? I mean, obviously linear
dependency structures in general are not stable under small
perturbations...?
Or is it that it's platform dependent?
Zhou
On Fri, Feb 6, 2009 at 2:28 PM, Peter Dalgaard p.dalga...@biostat.ku.dk wrote:
Dear all R-users:
In my case the series is the annual number of dry spell with their length
exceeding a given threshold representing extreme events frequency.
1 0 2 2 1 1 2 1 2 1 1 1 2 3 4 0 2 3 1 2 3 1 2 1 2 0 1 2 2 2 3 4 2 0 2 1 2 2
2 6 1 2
4 1 3 1 2 1 3 4
I have been using
-- Forwarded Message ---
From: Wang Yi wan...@mail.tea.ac.cn
To: r-h...@stat.math.ethz.ch
Sent: Fri, 6 Feb 2009 23:30:56 +0800
Subject: Problem about Mann-Kendall trend test
Dear all R-users:
In my case the series is the annual number of dry spell with their length
Hi R helpers,
I have two matrices A and B of the order (4 * 5) and (5 * 3) respectively. How
to multiply these two matrices to obtain resultant matrix of the order (4 * 3).
Thanks in advance
With regards
Maithili
__
R-help@r-project.org mailing
Hi Ravi,
To give you some background:
The function compute_strategy_before_fees returns portfolio returns and
standard deviation. Our optimal portfolio will maximise the returns
whilst keeping the standard deviation at a certain level.
We have an input matrix C that the function uses to
Hi Ravi,
To give you some background:
The function compute_strategy_before_fees returns portfolio returns and
standard deviation. Our optimal portfolio will maximise the returns whilst
keeping the standard deviation at a certain level.
We have an input matrix C that the function uses to
Dan,
Check out Fritz Leisch's flexclust package.
HTH,
Jim Porzak
TGN.com
San Francisco, CA
http://www.linkedin.com/in/jimporzak
use R! Group SF: http://ia.meetup.com/67/
On Fri, Feb 6, 2009 at 7:11 AM, Dan Stanger dstan...@eatonvance.com wrote:
Hello All,
I have data where each feature data
Laura:
When posting to this list, it is best to provide a small example. This
will facilitate better help. Here is an example of what you want to do.
mat - matrix(rnorm(10), ncol=2)
mat
[,1] [,2]
[1,] -0.1418628 -1.4559344
[2,] 0.4022863 1.4727494
[3,] 0.0158310 0.3471318
Hi All,
I downloaded the R program (version 2.6.2) in last Jan 2008. I now want to
upgrade the program to its latest version, but I don't want to go through the
process of deleting the existing version and downloading the new version. This
is because my existing R program has numerous packages
Dear Maithili,
A-matrix(1:20,4,5)B-matrix(10:24,5,3)
A %*% B
See ?%*% for more information.
HTH,
Jorge
On Fri, Feb 6, 2009 at 7:57 AM, Maithili Shiva maithili_sh...@yahoo.comwrote:
Hi R helpers,
I have two matrices A and B of the order (4 * 5) and (5 * 3) respectively.
How to
Hi All,
I downloaded the R program (version 2.6.2) in last Jan 2008. I now want to
upgrade the program to its latest version, but I don't want to go through the
process of deleting the existing version and downloading the new version. This
is because my existing R program has numerous packages
I would like to estimate the difference between two measurement techniques.
With both techniques, 4 measurements were obtained in each of 15
individuals. (These are not *repeated* measurements though - each of the 4
is of a different attribute). The naive approach would be a paired t-test,
but
Laura Rodriguez Murillo wrote:
Hi,
I'm new in the mailing list but I would appreciate if you could help
me with this:
I have a big matrix from where I need to delete specific rows. The
second entry on these rows to delete should match any string within a
list (other file with just one
On Fri, 2009-02-06 at 04:57 -0800, Maithili Shiva wrote:
Hi R helpers,
I have two matrices A and B of the order (4 * 5) and (5 * 3)
respectively. How to multiply these two matrices to obtain resultant
matrix of the order (4 * 3).
?`%*%`
E.g.:
A - matrix(runif(4*5), nrow = 4)
B -
Thank you! It worked perfectly, also for the other variables!
Messaggio originale
Da: r...@life.ku.dk
Data: 06.02.2009 13.29
A: lauramorg...@bluewin.ch
Oggetto: Re: [R] non linear regression with nls
Hi Laura,
I think you have to make a list formulas:
formList - list(NT.N ~
Jason Rupert jasonkrupert at yahoo.com writes:
Also, do you know how to make the radial rings black and a little thicker?
A co-worker requested that the be made a little darker and easier to see.
library(plotrix)
ions-c(3.2, 5.0, 2.0)
ion.names-c(Na,Ca,Mg)
radial.plot(ions,
2009/2/6 Harsh singhal...@gmail.com:
Hell R-list,
At the cost of sounding far-fetched and almost incredulous, I would
like to know if any R user is remotely considering the use of R on
Mobile devices, and Android in particular.
First, rewrite R in Java. Good luck with that!
Hello,
I'm trying to use the party package function varimp() to get
conditional variable importance measures, as I'm aware that some of my
variables are correlated. However I keep getting error messages (such
as the example below). I get similar errors with three separate
datasets that I'm
Hi,
You may want to check the package sp. There is one function called
point.in.polygo that might do what you want.
Good luck,
Monica
-
Message: 32
Date: Thu, 5 Feb 2009 14:51:36 +
From: baptiste auguie
Subject: Re: [R] maptools: Test if point is in polygon
To:
On Fri, 6 Feb 2009 10:41:54 -0500 (EST) Nidhi Kohli nid...@umd.edu
wrote:
NK has numerous packages that I downloaded for my research work. I
NK want to upgrade my R program with those packages in it. Is there a
NK way I can do this? I would appreciate if someone can help me in
NK this issue.
A
Please don't post twice to different versions of the same address.
r-help@r-project.org
r-h...@stat.math.ethz.ch
are the *same* list. A few posters always send to both.
Despite reading this twice, we don't have the information we asked for
in the posting guide. If this is Windows or Mac OS
Dear Arup,
It's very difficult to know what's going on without more information. What
is the form of the data that you're importing and how are you reading the
data? I ask because the most common way of getting data into R is probably
via read.table(), which by default converts character data to
Thank you. I think grep would do it, but the list of expressions I
need to match is too long so they are stored in a file. So the
question would be how I can tell R to look into that file to look for
the expressions that I want to match.
Thank you again for your help
Laura
2009/2/6 Wacek
I'm using R on Windows and wondering if there is an R package that allows you
to do folder structure analysis.
Specifically, I would like to grab the name, file size, type, and creation data
of files within a folder and then to means and sigmas on the file size and
creationdation date.
You could use shell indeed
On Thu, Feb 5, 2009 at 6:17 PM, Aurelie Labbe, Dr.
aurelie.la...@mcgill.cawrote:
Hi,
I am trying to use the R command system under windows (XP). If I try the
simple command system(mkdir toto) to create a directory toto, it tells me
that it cannot find the command
Nidhi,
You neglect to say what your OS is.
If you are using Windows, see the R for Windows FAQ faq 2.8. I haven't
looked, but I'm sure there is a similar item for other OS.
Murray M Cooper, Ph.D.
Richland Statistics
9800 N 24th St
Richland, MI, USA 49083
Mail: richs...@earthlink.net
-
Dear all,
I am trying to create beanplots from a dataset for which boxplot works fine.
(MACOS, R 2.8.1 GUI 1.27 Tiger build 32-bit (5301))
I am getting the following error message:
Error in shapiro.test(x) : sample size must be between 3 and 5000
I am not even sure why the shapiro.test is being
Dear friends,
I have discovered what I find peculiar behavior of print. In
general, print with n digits agrees with round with n digits.
Although printing all the elements of a vector with digits=2 gives
the expected results, printing a single element of the vector does
not.
x -
Hi all - has anyone ot and experienced problems with R+.
Have downloaded the trail and it will not work -does it need vista (like it
says on the box!)
Thanks
glenn
[[alternative HTML version deleted]]
__
R-help@r-project.org
To handle the correlations, you can treat individuals as random blocks. So
you have a mixed model with measurement technique crossed with measured
attribute and random intercepts for each individual. You can fit this with
lmer() in the lme4 package. Keep in mind there are a number of
On Fri, 6 Feb 2009, Jason Rupert wrote:
I'm using R on Windows and wondering if there is an R package that
allows you to do folder structure analysis.
?Specifically, I would like to grab the name, file size, type,?and
creation data of files within a folder and then to means and sigmas on
Classification: UNCLASSIFIED
Caveats: NONE
Thank you for all the pointers to R as a Web Service. I am still
reading/learning, and have come across the link
http://www.analytics.washington.edu/statcomp/projects/rzope/
for Rzope, but can not get a response.
Is this Project/URL no longer
on 02/06/2009 11:01 AM glenn wrote:
Hi all - has anyone ot and experienced problems with R+.
Have downloaded the trail and it will not work -does it need vista (like it
says on the box!)
Thanks
glenn
R-Plus is a commercial version of R. You would be best served to
on 02/06/2009 10:49 AM Neiderer, Andrew (Civ, ARL/CISD) wrote:
Classification: UNCLASSIFIED
Caveats: NONE
Thank you for all the pointers to R as a Web Service. I am still
reading/learning, and have come across the link
http://www.analytics.washington.edu/statcomp/projects/rzope/
for
The problem comes from mixing up general linear model (LM) theory to compute
B with the classical anova estimators. The two methods use different
approaches to solving the normal equations. LM theory uses any generalized
inverse of X'X to solve the normal equations. Yours comes from ginv()
You might also be interested in trying REvolution R, which is our
high-performance distribution of R. There's information about
REvolution R here:
http://www.revolution-computing.com/products/revolution-r.php
and you can download it here:
Hi
I am trying to understand how to get the validate() function in Design
to work with the subset option. I tried this:
ovarian.cph=cph(Surv(futime, fustat) ~ age+factor(ecog.ps)+strat(rx),
time.inc=1000, x=T, y=T, data=ovarian)
validate(ovarian.cph)
#fine when no subset is used, but
Eleni Rapsomaniki wrote:
Hi
I am trying to understand how to get the validate() function in Design
to work with the subset option. I tried this:
ovarian.cph=cph(Surv(futime, fustat) ~ age+factor(ecog.ps)+strat(rx),
time.inc=1000, x=T, y=T, data=ovarian)
validate(ovarian.cph)
#fine when
On 6 February 2009 at 05:15, Ingeborg Schmidt wrote:
| Hello,
| I seem to be unable to get Lam/Mpi to work with Rmpi on Debian 5.
The Debian Rmpi package (ie r-cran-rmpi) switched to Open MPI instead of
LAM/MPI quite some time ago as LAM/MPI is no longer actively developed, and
the LAM/MPI team
Try this example:
mygrid - expand.grid(x=seq(0,1, by=0.1), y=seq(0,1, by=0.1))
filled.contour(volcano, color = terrain.colors, asp = 1,
plot.axes={ axis(1); axis(2); points(mygrid, cex=0.5, pch=19)})
Cheers,
Marcelino
From: Dario Martin-Benito dmartin at inia.es
Subject:
Zhou Fang wrote:
Ah ha, that does work.
What do you mean it isn't robust, though? I mean, obviously linear
dependency structures in general are not stable under small
perturbations...?
Or is it that it's platform dependent?
The former. In particular there is an issue with columns that have
Hi!
Whenever I save a graphic in ps/eps format generated by filled.contour or
image, an undesired grid is added to it (not visible on the X11 screen). For
example:
postscript(volcano.eps)
filled.contour(volcano,col=gray(seq(0,1,,50)),levels=seq(min(volcano),max(volcano),,50))
dev.off()
Any
Dear all,
I have used the Rmpi package many times before however this time the
installation doesn't work :(. I've
installed it as I always do with openMPI tar.gz file direct from the
website. I'm installing on my ubuntu 8.10, R version 2.8.1.
Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC
Hi all,
I have been working with the chron package thanks to some guidance
from Gabor Grothendieck so I could plot activity by times.
What it the best or recommended package to compare such activity
between sites?
I want to compare the acetify time (multiple bat species) between
sites and
Dear all,
I have used the Rmpi package many times before however this time I've
installed it as I always do with openMPI tar.gz file direct from the
website. I'm installing on my ubuntu 8.10.
Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
All i get is:
Dear R-listers,
I am using R for Windows Vista 64-bit. I have no experience working with
maps, but now I have to plot a map of Denmark in which each Danish
county is color-coded according to its incidence rate of a particular
disease. My problem is that I don't know where to start. I have read
Dear All,
I am estimating a Cox proportional hazard model, with several interactions
of the type a*z + a*y + a*x + b*z + b*y + b*x.
I need to know if the first three (the as) are jointly significantly
different from the last three (the bs). I have tried several approaches,
but have been
Hi everyone:
It is probably something simple but I can't find anything related to this.
Could someone show me how to format the sum of x. the result is 1 but I
need comma formatted like this: 10,000. Since I am going to be using this
number to be added to another calculation, I want to be
When I run a macro that uses RExcel, I get a dialog box that says
Microsoft Excel is waiting for another application to complete an OLE
action.
There is no error in the RExcel commands in the macro, of that I am sure.
The box appears to be related to the inclusion of RunRFile commands.
The
on 02/06/2009 02:32 PM Felipe Carrillo wrote:
Hi everyone: It is probably something simple but I can't find
anything related to this. Could someone show me how to format the sum
of x. the result is 1 but I need comma formatted like this:
10,000. Since I am going to be using this number to
Dear all,
I have used the Rmpi package many times before however this time I've
installed it as I always do with openMPI tar.gz file direct from the
website. I'm installing on my ubuntu 8.10, R version 2.8.1.
Linux 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
All i get
on 02/06/2009 01:32 PM Rachel Albrecht wrote:
Hi!
Whenever I save a graphic in ps/eps format generated by filled.contour or
image, an undesired grid is added to it (not visible on the X11 screen). For
example:
postscript(volcano.eps)
Dear All,
I am estimating a Cox proportional hazard model, with several interactions
of the type a*z + a*y + a*x + b*z + b*y + b*x.
I need to know if the first three (the as) are jointly significantly
different from the last three (the bs). I have tried several approaches,
but have been
Laura Rodriguez Murillo wrote:
Thank you. I think grep would do it, but the list of expressions I
need to match is too long so they are stored in a file.
what does 'too long' mean?
So the
question would be how I can tell R to look into that file to look for
the expressions that I want to
yep, it definitely sounds like a work for perl, but I don't know perl
(unfortunately). I'm still stuck with this so I'm giving more details
in case it helps:
I have file A with 382 columns and 30 rows. There are rows where
only the entry in first column is duplicated in other rows. In these
marc:
Thanks for the quick reply. I learned something new today, I wasn't aware of
the big.mark argument.
--- On Fri, 2/6/09, Marc Schwartz marc_schwa...@comcast.net wrote:
From: Marc Schwartz marc_schwa...@comcast.net
Subject: Re: [R] format \Sexpr{}
To: mazatlanmex...@yahoo.com
Cc:
Hello,
I am writing regarding log transformation of data in a single
matrix column, and subsequent use of these data in a glm model fit. I
have a data matrix in which I am using the log function to transform
the values. This transformation results in -Inf values in some places,
though.
I regularly deal with a similar pattern at work. People send me these
big long .csv files and I have to run them through some pattern analysis
to decide which rows I keep and which rows I kill off.
As others have mentioned, Perl is a good candidate for this task.
Another option would be a quick
Dear Hein,
I'm not entirely sure that I understand what you want to do, but I think
that you want to test that the coefficient of milwinwar equals that of
civwinwar, and similarly and simultaneously for two other pairs of
coefficients. If so, you should be able to use the linear.hypothesis()
Dear R-users,
Is it possible to prevent xyplot from drawing empty panels when using
multiple conditions and when the dataset has a incomplete set of
condition combinations - like in the following example?
I have tried to modify the drop.unused.levels argument but without any
success.
Any
Hi Laura,
You might want to read the manual on Data importation and exportation on
the cran webpage http://cran.r-project.org/
Otherwise, have a look at ?read.table.
Sebastien
__
R-help@r-project.org mailing list
Hello,
I am attempting to create plots using two continuous variables and
it seems I should be able to use the simple plot command. However,
my x-axis values are dates, and I believe this could be the reason I
am receiving error messages reading:
Error in Summary.factor(c(2L, 4L, 3L,
Hi,
I am working with some extremely small p-values and I want to capture
the corresponding quantiles.
I see the help file it says:
'qnorm' is based on Wichura's algorithm AS 241 which provides
precise results up to about 16 digits.
What happen after the 16th digits?
If I am running
On Fri, Feb 6, 2009 at 1:15 PM, Sebastien Bihorel
sebastien.biho...@cognigencorp.com wrote:
Dear R-users,
Is it possible to prevent xyplot from drawing empty panels when using
multiple conditions and when the dataset has a incomplete set of condition
combinations - like in the following
Googling for Denmark Shapefile leads to this website:
http://www.vdstech.com/map_data.htm
Where a few clicks lead to downloading a set of shapefiles (different levels of
subdividing the country, hopefully you know more about what they correspond to
than I do, about all I know about Denmark is
Dear John,
Thank you very much. Yes, I think this should do it. The basic hypothesis
is to test whether the outcome of war (win, lose, draw) has a different
effect on different regime types. In other words, are leaders of some
regime types more sensitive to the outcome of war than others.
Dear all,
I have a matrix data and would like to sort it by col 1 first and then sort it
by col 2. Can I do it in R? Thanks a lot!
Bill
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Thank you so much! I finally got it.
Laura
2009/2/6 Sebastien Bihorel sebastien.biho...@cognigencorp.com:
Hi Laura,
You might want to read the manual on Data importation and exportation on the
cran webpage http://cran.r-project.org/
Otherwise, have a look at ?read.table.
Sebastien
On Fri, 6 Feb 2009, Marc Schwartz wrote:
on 02/06/2009 01:32 PM Rachel Albrecht wrote:
Hi!
Whenever I save a graphic in ps/eps format generated by
filled.contour or image, an undesired grid is added to it (not
visible on the X11 screen). For example:
postscript(volcano.eps)
Yes, you can:
m - matrix( sample(1:5, 20, rep=TRUE), nc=2)
m[ order(m[,1],m[,2]), ]
Gabor
On Fri, Feb 6, 2009 at 11:29 PM, Bill Hyman billhym...@yahoo.com wrote:
Dear all,
I have a matrix data and would like to sort it by col 1 first and then sort
it by col 2. Can I do it in R? Thanks a
Also, see this page for more ideas on mapping an auxiliary variable by county:
http://r-spatial.sourceforge.net/gallery/
(e.g. plots 9, 14, 15 and 21)
Kingsford Jones
On Fri, Feb 6, 2009 at 3:22 PM, Greg Snow greg.s...@imail.org wrote:
Googling for Denmark Shapefile leads to this website:
Gabor,
Thank you very much!
Bill
- Original Message
From: Gábor Csárdi csa...@rmki.kfki.hu
To: Bill Hyman billhym...@yahoo.com
Cc: r-help@r-project.org
Sent: Friday, February 6, 2009 2:37:30 PM
Subject: Re: [R] How to sort a matrix or dataframe by two columns?
Yes, you can:
m -
Since both comparison and negation are well-defined for time differences, I
wonder why abs and division are not defined for class difftime. This
behavior is clearly documented on the man page: limited arithmetic is
available on 'difftime' objects; but why? Both are natural, semantically
sound, and
I need to create a legend for a simple scatter plot in the following
format.
This is Blah1 number1 number2
This is Blah2 number3 number4
.
.
.
This is Blah6 number11number12
I looked up these help pages and found the following solution.
lStr-c(Blah1, Blah2,Blah6, number 1,
1 - 100 of 110 matches
Mail list logo