Hi,
I have been considering use of R on Windows Operating system and the market
leader Symbiosis.
I want to log on to my remote pc using remote desktop securely using the
username and password, then run R as if I was in front of the PC itself ( PC
got more RAM than Mobile ..still). Ditto for the A
On Fri, Feb 6, 2009 at 8:12 PM, Harsh wrote:
> 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.
>
Check out FreeRunner from Openmoko (http://wiki.o
I think your problem is that you are using SAS-style contrasts rather than
treatment contrasts. That is, your 'dummy' matrix omits a final column,
whereas you should be omitting the first column.
Here is a version of your function which I find easier to follow. You might
like to work through
Hello R users,
I have been trying to output all my results (text, plots, etc) into the same
postscript file as
one document, but have been unable to...Can anyone help me improve my code
below so that I can
accomplish this? Currently I have to output them separately then piece them
back toget
Hello R users,
I have been trying to output all my results (text, plots, etc) into the same
postscript file as
one document, but have been unable to...Can anyone help me improve my
simplified version of the code below so that I can accomplish this?
Currently I have to output them separately th
Hi everyone,
I am running this fixed effects model in R.
The thing is, my own code and the canned routine keep returning different
estimates for the fixed effects factors and intercept.
(The other variables' estimates and R^2 are the same!!! weird!!)
I attach my own code, just in case.
I am pre
Andrew Choens wrote:
> 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.
> An
I have two problems with svyhist. I hope this is easy, and it may be
that "simple R syntax" will do what I need.
1) I'm able to get a single plot out, but I need to put two
distributions in the same graphic to visually compare them.
2) I get uniform breaks at intervals of 10. I can p
On Fri, 6 Feb 2009, Aldi Kraja wrote:
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
This will probably do what you need:
plot(1)
x <- 1:10 # numbers for the legend
blah <- LETTERS[1:5]
legendData <- character(5)
for (i in 1:5)
legendData[i] <- sprintf("Blah-%s %d %d", blah[i], x[2*i - 1], x[2*i])
legend('topright', legend=legendData)
On Fri, Feb 6, 2009 at 6:57 PM, Vemuri,
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,
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, an
Gabor,
Thank you very much!
Bill
- Original Message
From: Gábor Csárdi
To: Bill Hyman
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 <- matrix( sample(1:5, 20, rep=TRUE), nc=2)
m
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 wrote:
> Googling for Denmark Shapefile leads to this website:
> http://www.vdstech
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 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 lot!
>
> Bill
>
>
> 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("
Thank you so much! I finally got it.
Laura
2009/2/6 Sebastien Bihorel :
> 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
>
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
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.
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 fr
On Fri, Feb 6, 2009 at 1:15 PM, Sebastien Bihorel
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 example?
> I have tried to modify t
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
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, 5
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
https://stat.ethz.ch/mailman/listinf
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 help
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()
funct
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 SQ
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
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 wrote:
> From: Marc Schwartz
> Subject: Re: [R] format \Sexpr{}
> To: mazatlanmex...@yahoo.com
> Cc: r-h...@stat.math.ethz.ch
> Date: Friday, February 6
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
ca
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
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 "a"s) are jointly significantly
different from the last three (the "b"s). I have tried several approaches,
but have been
Paul,
On 6 February 2009 at 19:37, Paul Benton wrote:
| 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 ve
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")
> filled.contour(volcano,col=gray(seq(0,1,,50))
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 i
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
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 m
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 ab
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 "a"s) are jointly significantly
different from the last three (the "b"s). I have tried several approaches,
but have been
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 the
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:
> library(Rmpi
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 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!
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 ide
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 al
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 inia.es>
> Subject: [R] an
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 i
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 no
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 the
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:
http://www.revolution-computing.com/downloads/revolution
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() whic
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/
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 se
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 ac
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
the
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 variations
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 mailin
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 <- seq(.
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 u
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
-
You could use shell indeed
On Thu, Feb 5, 2009 at 6:17 PM, Aurelie Labbe, Dr.
wrote:
> 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 mkdir...
> Doe
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.
Tha
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 Kusnier
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 X
On Fri, 6 Feb 2009 10:41:54 -0500 (EST) Nidhi Kohli
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 bit more in
First of all, glm is a function rather than a package. You can use
glmer from lme4 package to estimate a similar model.
Best
On Fri, Feb 6, 2009 at 10:42 PM, Joseph Magagnoli wrote:
> Hi all,
> can the glm package be used to estimate a logit model to panel data? I am
> asking this
> because sta
--begin inclusion ---
I am a student (and very to new to R) working on a senior design project that
is attempting to determine the demand distributions for single copy
newspaper draws at individual sales outlet locations. Our sales data is
right-censored, because sell-outs constitute a majority o
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)
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
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 of
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 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 mat
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
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 wrote:
> Hello All,
>
> I have data where each feature data point is a vector, a
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 calcula
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 calculat
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
-- Forwarded Message ---
From: "Wang Yi"
To:
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
exceeding a given threshold representing extreme eve
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.347131
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 Mann-Ken
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 wrote:
> Zhou Fang wrote:
>> Hi,
>>
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
___
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 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]]
_
Thank you! It worked perfectly, also for the other variables!
Messaggio originale
Da: r...@life.ku.dk
Data: 06.02.2009 13.29
A:
Oggetto: Re: [R] non linear regression with nls
Hi Laura,
I think you have to make a list formulas:
formList <- list(NT.N ~ fz1(Portata, a, b), NT.N ~ fz2(Po
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 polygo
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
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 have
Jason Rupert 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, labels=ion.n
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 f
?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.
wrote:
> Hi,
>
> I am trying to
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 t
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
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?
>
> Thierry
>
> ---
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 that this i
Renaud Lancelot gmail.com> writes:
>
> See function pip (point in polygon) in package splancs.
>
> Renaud
>
> 2009/2/5 Rainer M Krug gmail.com>
>
> > On Thu, Feb 5, 2009 at 3:21 PM, Aleksandr Andreev
> > gmail.com> wrote:
> > > In R's maptools package, is there a built-in function to test i
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.sy
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, wrote:
>
>
>> I am importing a dataset in R where some of the variable are numerical
>>
> and
>
>> some of them are character...but the problem is t
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 pdata.fr
Dario,
Checkout the 'plot.axes' argument to 'filled.contour'.
Michael Grant
--- On Fri, 2/6/09, Dario Martin-Benito wrote:
> From: Dario Martin-Benito
> Subject: [R] annotating a filled contours plot with a grid of points
> To: r-help@r-project.org
> Date: Friday, February 6, 2009, 8:23 AM
>
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, wrote:
> I am importing a dataset in R where some of the variable are numerical
and
> some of them are character
1 - 100 of 113 matches
Mail list logo