Thanks Duncan,
I will have a look at the print command.
Gerrit.
op 1/18/2014 2:23 PM Duncan Mackay schreef:
I forgot to mention for multiple plots
? print.trellis
Duncan
-Original Message-
From: Gerrit Draisma [mailto:gdrai...@xs4all.nl]
Sent: Saturday, 18 January 2014 21:49
To:
At 21:13 19/01/2014, Gerard Smits wrote:
Hi All,
I have pulled the following function (fplot) from the internet, and
unfortunately I do not see an author to whom I can give credit. It
used grid graphics and relies mostly on package rmeta by Thomas Lumley.
Dear Gerard
Unless you are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
I would like to group commands, so that after a group of commands has
been executed, the variables defined in that group are automatically
deleted.
My reasoning: I have a longer sript which is used to load data, do
analysis and plot graphs, all
Check out the use of the 'local' function:
gc()
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 199420 10.7 407500 21.8 35 18.7
Vcells 308004 2.4 786432 6.0 786424 6.0
result - local({
+ a - rnorm(100) # big objects
+ b - rnorm(100)
+ mean(a + b)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
I have a script, in which I want to lock certain variables, so that
they can not accidentally be deleted.
I was thinking about a mechanism similar to packages, so that I can
re-define the variable in a different namespace, but it is still
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01/20/14, 14:27 , jim holtman wrote:
Check out the use of the 'local' function:
True - have completely forgotten the local function.
Thanks,
Rainer
gc()
used (Mb) gc trigger (Mb) max used (Mb) Ncells 199420 10.7
407500 21.8 35
I hope the code below will show you how to co what you want to do.
John
Elder1 - data.frame(
ID=c(ID1,ID2,ID3,ID6,ID8),
age=c(38,35,,NA,NA))
Elder1
# The age variable is a factor, we want it to be numeric
class(Elder1[,'age'])
# Convert factor to a numeric value.
Dear All,
I often need to access some data files which are available (also) as files
in the SDMX format.
For instance, this is the case of the OECD (http://www.oecd.org/) data.
In order to automate some processes, I need to retrieve the SDMX data from
a url and read the content into an R
Can someone provide suggestions about how to best set up an R server? I would
like to be able to run R on my IPad. It sounds like the only way to do this is
to have the IPad access an R server. The server will be at my home, connected
to the internet via my cable company (comcast). I don't yet
Hi
I believe that it is not what is wanted (if the OP knows exactly what he
whants, which I doubt).
your result is
Elder1
ID age
1 ID1 3
2 ID2 2
3 ID3 1
4 ID6 0
5 ID8 0
however original output shall be
Elder1$age[Elder1$age==]-NA
Elder1$age-as.numeric(as.character(Elder1$age))
Perhaps http://www.rstudio.com/ide/docs/server/getting_started
Michael
On Mon, Jan 20, 2014 at 9:12 AM, John Sorkin
jsor...@grecc.umaryland.edu wrote:
Can someone provide suggestions about how to best set up an R server? I would
like to be able to run R on my IPad. It sounds like the only way
Dear all,
I would like to select from a vector of 10 elements, 5 of those that are
identical.
How can I do that in R? I guess one way would be to taking random numbers and
see if that appeared again. Is though there a more straightforward approach?
Regards
Alex
[[alternative HTML
I think this
Elder1$age[Elder1$age==]-NA #is not needed
Elder1$age-as.numeric(as.character(Elder1$age)) #convert to NAs
A.K.
On Monday, January 20, 2014 9:53 AM, PIKAL Petr petr.pi...@precheza.cz wrote:
Hi
I believe that it is not what is wanted (if the OP knows exactly what he
whants,
Someone asked a question about this on the list a couple months ago. I replied that I
didn't know any sound basis for it, and the counter-reply was SAS has it. Grant
applications were due and I got testy, so there was no further progress at that point.
As the author of the survival package I
Use 'table' to count the occurances and then select the one that has a
count of 5.
Jim Holtman
Data Munger Guru
What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.
On Mon, Jan 20, 2014 at 12:07 PM, Alaios ala...@yahoo.com wrote:
Dear all,
On 20 Jan 2014, at 18:47 , Terry Therneau thern...@mayo.edu wrote:
The short summary: I was suspicious before, now I know for certain that it
is misguided, and the phreg implementation of the idea is worse.
A fortune candidate, if ever I saw one.
-pd
--
Peter Dalgaard, Professor,
Center
To save others a little hunting, you can read the vignette online at
http://cran.r-project.org/web/packages/survival/vignettes/tests.pdf
Hadley
On Mon, Jan 20, 2014 at 11:47 AM, Terry Therneau thern...@mayo.edu wrote:
Someone asked a question about this on the list a couple months ago. I
But just noting the usual floating point stuff, Jim's approach might
run into problems depending on what you have as numbers and what is
meant by identical.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
Data is not information. Information is not knowledge. And
On Jan 19, 2014, at 1:59 PM, Sudhi Upadhyaya wrote:
Please delete this thread
https://stat.ethz.ch/pipermail/r-help/2011-December/298414.html
I already solved this problem and I forgot my login information so I
am unable to login and delete this thread.
Your password is automatically
I didn't try it myself but free Teamviewer software lets you access to any PC
linux or windows from your ipad :
http://www.teamviewer.com/
-Original Message-
From: John Sorkin [jsor...@grecc.umaryland.edu]
Date: 01/20/2014 09:13 AM
To: r-help@r-project.org
Subject: [R] Setting up an R
On 01/20/2014 07:02 PM, peter dalgaard wrote:
On 20 Jan 2014, at 18:47 , Terry Therneau thern...@mayo.edu wrote:
The short summary: I was suspicious before, now I know for certain
that it is misguided, and the phreg implementation of the idea is
worse.
A fortune candidate, if ever I saw
On 20 Jan 2014, at 23:05 , Göran Broström goran.brost...@umu.se wrote:
On 01/20/2014 07:02 PM, peter dalgaard wrote:
On 20 Jan 2014, at 18:47 , Terry Therneau thern...@mayo.edu wrote:
The short summary: I was suspicious before, now I know for certain
that it is misguided, and the phreg
This last brought forth a good chuckle. Perhaps combine them into a single
entry?
On a serious note, to have someone of significant experience say that they hadn't heard of
SAS's method for doing x, for nearly any x, marks a welcome climate change. (And took
nearly that long.)
The phreg
Bonjour,
j'ai un programme dans lequel je veux coloré ou remplir les triangles dont
les points sont significatifs (inférieur a 0.05).
comment je peux le faire?
merci
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
I am using assocstats() in the vcd library to calculate phi between pairs
of dichotomous variables. vcd manual says it calculates the absolute value.
How do I scale the resulting coefficient between 0 and 1, i.e. how does one
calculate phi max? Or is it already scaled between 0 and 1 for
First off, it is rude to simultaneously post the same question on stackexchange
and R-help. Don't do it.
Second, posting using HTML is a good way to cause confusion in conveying your
question clearly, since this mailing list strips it out. Please read the
Posting Guide mentioned at the bottom
On Sun, 19 Jan 2014 11:39:43 -0800 (PST)
kingsly ecoking...@yahoo.co.in wrote:
Dear R community
I have a large data set contain some empty cells. Because of that,
may be I am wrong, NA values are produced. Now I want replace both
empty and NA values with zero.
Elder1 - data.frame(
Hi,
I want from a vector containing has like 1000 elements to select X of it
randomly but with never selecting the same element again. Each one should be
unique element of the vector.
Is this more precise now?
Regards
Alex
On Monday, January 20, 2014 7:54 PM, Alaios ala...@yahoo.com wrote:
read up on
?sample
Dan
Daniel Nordlund
Bothell, WA USA
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Alaios
Sent: Monday, January 20, 2014 10:12 PM
To: Alaios; R-help@r-project.org
Subject: Re: [R] Select 5 identical
Dear All,
I understand that we could use long vectors like this beyond 2^31-1 limit.
x- c('0')
length(x)- 2^35
But how do I do introduce this notion in matrices ? specifically if i want
rows 2^31-1 limit ?
Regards,
Krishna Mohan
[[alternative HTML version deleted]]
On 21/01/2014 06:33, km wrote:
Dear All,
I understand that we could use long vectors like this beyond 2^31-1 limit.
x- c('0')
length(x)- 2^35
But how do I do introduce this notion in matrices ? specifically if i want
rows 2^31-1 limit ?
You read the documentation about the change, and if
31 matches
Mail list logo