rvest_0.3.2 assertthat_0.2.0 mnormt_1.5-5
[37] colorspace_1.3-2 stringi_1.2.3lazyeval_0.2.1 munsell_0.5.0
[41] broom_0.4.4 crayon_1.3.4
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's Hospital
Assistant Pro
'/home/steve/src/R/R-3.5.0/src/main'
Makefile:135: recipe for target 'R' failed
How does one set the -fPIC flag?
I have never had trouble compiling under Mint, which is based on
Ubuntu.
Thanks!
Steve
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
L
;- do.call(rbind, lapply(names(x), function(z)
ata.frame(type=z, x[[z]])))
#Error in ata.frame(type = z, dat[[z]]) : still cannot find function
"ata.frame"?
*William H. Poling, Ph.D.*
*From:* R-help [mailto:r-help-boun...@r-project.org] *On Behalf Of
*Huzefa Khalil
*Sent:* Wednesday,
A = data.frame(x = 1:2, y = 3:4),
B = data.frame(x = 5:6, y = 7:8)
)
dplyr::bind_rows(l, .id = "type")
#> type x y
#> 1A 1 3
#> 2A 2 4
#> 3B 5 7
#> 4B 6 8
This also has the advantage of returning a data frame when the inputs
are data frames.
Hadley
tion of Bill Dunlap
and David Carlson is beautifully elegant.
Thanks again,
Kevin
-Original Message-
From: R-help <r-help-boun...@r-project.org> On Behalf Of David L Carlson
Sent: Wednesday, May 2, 2018 3:51 PM
To: William Dunlap <wdun...@tibco.com>; Kevin E. Thorpe
<ke
together and the element name becomes a new
variable. For example, I would like to turn the list above into a data
frame that looks like this:
data.frame(type=c("A","A","B","B"),x=c(1:2,5:6),y=c(3:4,7:8))
Appreciate any pointers.
Kevin
--
Kevin E. Thorp
ENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.5.0 tools_3.5.0tcltk_3.5.0
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC
running).
Thanks all for the advice!
Paul
-Original Message-
From: Paul Lantos
Sent: Tuesday, March 27, 2018 8:35 PM
To: Kevin E. Thorpe <kevin.tho...@utoronto.ca>; Jeff Newmiller
<jdnew...@dcn.davis.ca.us>
Cc: r-help@r-project.org
Subject: RE: [R] unable to move temporary
---
Jeff NewmillerThe . . Go Live...
DCN:<jdnew...@dcn.davis.ca.us>Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engin
0-8
[31] latticeExtra_0.6-28 magrittr_1.5codetools_0.2-15
[34] MASS_7.3-48 scales_0.5.0backports_1.1.2
[37] htmltools_0.3.6 splines_3.4.3 colorspace_1.3-2
[40] quantreg_5.34 sandwich_2.4-0 stringi_1.1.6
[43] acepack_1.4.1 lazyeval_0.2.1 munsell_0.4.3
[46] zoo_1
TION), nonlin
1747.1295 3.05 <0.0002> Iterations: 8 outer, 19
Newton-Raphson> Theta= 0.991 > Degrees of freedom for terms= 4 >
Likelihood ratio test=2136 on 4.05 df, p=0 n= 3390429 > *
Thanks,
KS
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health
-contained, reproducible code.
---
This email has been checked for viruses by AVG.
http://www.avg.com
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's Hospital
Assistant Professor, Dalla Lana School of Public Health
I am wondering if there is a way to undo the results of table().
For example if you had a table that looked like the result of table(x, y) or
table(x, y, z) is there a simple/elegant way to reverse the process to get the
"original" x, y and z vectors?
Thanks,
Kevin
--
Kevin E. T
correctly.
Kevin
On 02/07/2017 02:23 PM, Kevin E. Thorpe wrote:
I am re-running some logistic regression analyses using lrm from the rms
package but latex(anova(...)) appears to be broken on my system.
Here is some anova() output followed by the latex() error for two models
since the error c
.5 htmltools_0.3.5
[34] splines_3.2.3 assertthat_0.1 colorspace_1.3-2
[37] quantreg_5.29 sandwich_2.3-4 stringi_1.1.2
[40] acepack_1.4.1 lazyeval_0.2.0 munsell_0.4.3
[43] zoo_1.7-14
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Sh
nts the simple rbind works but I would like a
general solution for arbitrary length lists. Hopefully that is clear.
Kevin
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's Hospital
Assistant Professor, Dalla Lana Sch
es:
[1] Formula_1.2-1 survival_2.39-4 lattice_0.20-33
loaded via a namespace (and not attached):
[1] Matrix_1.2-6 tools_3.3.1 gtable_0.2.0 splines_3.3.1 grid_3.3.1
>
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Micha
. It did not give an
error and produced a result but I don't know if it did a competing risk
analysis or not.
Thanks.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's Hospital
Assistant Professor, Dalla Lana School
a factor
outcome but if not, you would need to re-code it to 0/1.
Kevin
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's Hospital
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email
st where, as in a
Monty Python skit, people could be directed there to be insulted and all these unhelpful
replies could be sent.
A milder alternative is to encourage some R-help subscribers to click the "Don't send" or
"Save" button and think better of their replies.
-
mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Re
to Courier) so that's what I follow.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax
your CSV file is. There is a
menu option for this.
Kevin
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca
I hope what I'm trying to accomplish makes sense. Maybe I'm missing
something obvious, but I really have no idea at the moment how to
achieve this elegantly. Since I need to simulate many trial recruitments
it needs to be general and compact.
I appreciate any advice.
Kevin
--
Kevin E. Thorpe
On 03/31/2015 01:44 PM, Duncan Murdoch wrote:
On 31/03/2015 1:05 PM, Kevin E. Thorpe wrote:
Hello.
I am trying to simulate recruitment in a randomized trial. Suppose I
have three streams (strata) of patients represented by these data frames.
df1 - data.frame(strat=rep(1,10),id=1:10,pid=1001
and ANOVA?
--
Thank you
Sike Li (Lydia)
[[alternative HTML version deleted]]
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email
Whitespace is meaningless, unless it isn't. Some parsing ambiguities
are resolved by considering whitespace around operators. See and
despair: x-y (assignment) is parsed differently than x -y (comparison)!
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka
-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka
commonly used
platforms. If chromebooks and android devices get into greater use, it
would be cool if R were available.
Kevin
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School
Thanks. I guess I could have searched for that. Apologies.
I'll have to try it on my tablet.
Kevin
On 05/08/2014 11:57 AM, Jeremy Miles wrote:
It exists:
https://play.google.com/store/apps/details?id=com.appsopensource.R
No graphics.
Jeremy
On 8 May 2014 05:44, Kevin E. Thorpe
ratio estimates from
that model with a little bit of calculation (e.g. exp(-beta/scale)).
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University
) : object 'val' not found
dat1[order(dat1[,2]), ] # Works just fine.
John Kane
Kingston ON Canada
I don't think the behaviour has changed. I bet dat1[order(dat1$val), ]
works just fine.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute
]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
On 08/13/2013 03:06 PM, Stackpole, Chris wrote:
From: Kevin E. Thorpe [mailto:kevin.tho...@utoronto.ca]
Sent: Monday, August 12, 2013 11:00 AM
Subject: Re: [R] Memory limit on Linux?
What does ulimit -a report on both of these machines?
Greetings,
Sorry for the delay. Other fires demanded
vs CentOS thing, but
that seems very strange to me.
2) When I compile from source to test this, is there a specific
option I should pass to ensure max usage?
Thank you.
Chris Stackpole
What does ulimit -a report on both of these machines?
--
Kevin E. Thorpe
Head of Biostatistics, Applied
What do you mean it doesn't run? Is there an error message? What is
it? Also, you do not need to put RX in strata() in the survfit() function.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor
at the ?hist to understand how the bins are constructed.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca
your
simulations again with variance ratios exceeding 2 and see what happens.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email
environment.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
of row.names=false when we output csv data. But there exists
that parameter in R help. Hoping for your reply!
Best regards!
B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B
B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B B Li
Nan
--
Kevin E. Thorpe
On 03/20/2013 03:49 AM, Prof Brian Ripley wrote:
If things are not readily available in R it is always good to pause and
reflect if there might be a good reason.
I nominate this as a fortune candidate.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka
-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre
/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email
always use that myself, but if you use the log link, you get RR. As for
why you would, I would suggest it's because physicians think they
understand a RR better than and OR.
Kevin E. Thorpe kevin.tho...@utoronto.ca 1/30/2013 11:14 AM
On 01/30/2013 09:02 AM, nalluri pratap wrote:
Relative risk
On 01/30/2013 11:26 AM, John Sorkin wrote:
If you use a log link, you are not, I believe, performing a logistic
regression!
I guess strictly speaking, that is true. I was being a little sloppy in
terminology.
Kevin E. Thorpe kevin.tho...@utoronto.ca 1/30/2013 11:22 AM
On 01/30/2013 11
E. Thorpe
Head of Biostatistics, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
will usually need to run make install as root, unless
you modify the installation location.
One reason I do this is, that I figure if my system has the tools
to compile R, I likely won't have concerns about installing packages
that require some compilation as well.
Kevin
--
Kevin E. Thorpe
Biostatistician
there is a simple answer to this. Thanks.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax
= element x in terms of n (say (n + 1)/2 or whatever it would be) if there is
an even amount of elements, or x in terms of n (with a different way of saying how many
n) if there is an odd amount of elements?
Much appreciated
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research
it a try. Attached you are
the data-set
Thank you
Best
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho
guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public
2008;27:157-172
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax
. Evaluating
the
added predictive ability of a new marker: from area under the ROC
curve
to
reclassification and beyond. Stat Med 2008;27:157-172
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant
that does this will also work on
binary data.
Thanks
Pencina MJ, D'Agostino RB Sr, D'Agostino RB Jr, Vasan RS. Evaluating the
added predictive ability of a new marker: from area under the ROC curve to
reclassification and beyond. Stat Med 2008;27:157-172
--
Kevin E. Thorpe
Biostatistician
] Matrix_1.0-2 grid_2.14.0lattice_0.20-0 nlme_3.1-102
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca
experiences with dates in excel, especially when multiple computers
are involved. When someone has data in excel, I now require them to
make the csv file on their system and manually verify the dates but
opening the file in notepad.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health
.
Can someone give me a hint?
Thanks very much!
Bye, sarah
The only reason I can think of you wanting to avoid sample() is because
this is homework and the list is not for homework. If I have misjudged
the intent of your post, please forgive me.
--
Kevin E. Thorpe
Biostatistician/Trialist
/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St
the code in a file called 'whatever.R'. 2. Start R, and do
source(whatever.R). That defines the functions. do ls() and you
should see them. 3. Call one of the functions: sshc(100,10)
I'd call that, in R terms, calling the sshc function rather than
running anything.
Barry
--
Kevin E. Thorpe
the MAd package may have what you are looking for. It can
call metafor for you.
Kevin
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
not
require the headers.
I don't use Ubuntu, so I don't know what the name of packages you need
for the headers. Typically the packages have the devel versions
separate, you you need those.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge
versions
separate, you you need those.
--
Kevin E. Thorpe
Biostatistician/Trialist, Applied Health Research Centre (AHRC)
Li Ka Shing Knowledge Institute of St. Michael's
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel
getting used to = is
not a good idea?
Or is it?
Thanks ahead,
Berry
As a top-level expression, it probably doesn't matter too much. I
always use - myself. Here is an example where = does not equal -
print(fit - lm(...)) is very different from print(fit = lm(...)).
--
Kevin E. Thorpe
/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public
:
for(i in 1:1){
pdf()
plot(runif())
dev.off()
}
so there is no track of the mention null device, and my sweave pdf
looks better. Any idea of a more elegant solution?
Thanks!!
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor
.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
__
R-help@r-project.org mailing
, 2010 at 12:01 PM, Kevin E. Thorpe
kevin.tho...@utoronto.ca mailto:kevin.tho...@utoronto.ca wrote:
Is it an undocumented (at least I missed it if it's documented) feature
of the reshape function to do numeric variables followed by character?
I ask because that seems to be the case below
=en_US LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_2.11.1
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School
(surv.all) I would really appreciate any assistance. Thank you.
Regards,
Andre
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax
W Eryk Wolski wrote:
Hi,
ESS replaces _ by -. How can I switch off this feature?
I need to be able to type the underscore
Thanks
Eryk
Pressing the underscore a second time gives you the underscore.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant
had to.
Kevin
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
__
R-help@r
-chunk).
Thanks,
Stefan
This is untested, but does Sweave(file.rnw, eval=FASLE) do what you want?
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel
Kevin E. Thorpe wrote:
stefan.d...@gmail.com wrote:
Hi,
I am using Sweave to write an article. If I want to convert the *.rnw
to a *.tex file I have to run Sweave which might take a long time. Is
there away to get a tex-file as result without (evaluating) the
R-chunks, i.e. the opposite
in the rms package
that talks about preview difficulties on MAC.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
, Vishwanath Sindagi wrote:
Hello:
I am working on getting some statistics related to clinical trials
and
stuff. I have to work with ICD9 codes.
Is anyone aware of any R method that deals with ICD9 codes
verification and manipulation.
Thanks
Vishwanath
--
Kevin E. Thorpe
Biostatistician/Trialist
...
Barry
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
__
R-help@r
that installed also, but until
I become a bit more familiar with this software I'm starting from BUGS.
Kevin
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel
at the average length of
follow-up time anticipated in the study.
Kevin
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
!
In the help file for plot.survfit you can read about the fun argument.
fun=event does what you want.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel
a feeling
for a particular distribution without installing anything.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
example that illustrates your problem is often very useful in helping
you solve the problem without posting a question.
I hope this helps.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email
ManInMoon wrote:
Hi, I am new to R.
What does a negative amount in an index do?
i.e. x[-lenght[x]]
Why don't you try it and see for yourself?
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University
March 2010 20:19, Kevin E. Thorpe [via R]
ml-node+1587986-1699461774-180...@n4.nabble.comml-node%2b1587986-1699461774-180...@n4.nabble.com
wrote:
ManInMoon wrote:
Hi, I am new to R.
What does a negative amount in an index do?
i.e. x[-lenght[x]]
Why don't you try
X11cairo
In addition: Warning message:
In function (display = , width, height, pointsize, gamma, bg, :
unable to open connection to X11 display ''
Would you give some clues what is going on?
thanks
Did you start ssh with the -X switch?
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge
be an enable X11 forwarding (or something similar) option in
your ssh client application. You should look e.g. in connection settings.
Kind regards,
Kimmo
Agree. Sounds like you are using a client on Windows. Also, Vojtech
Zeisek's reply is pertinent too.
--
Kevin E. Thorpe
Biostatistician
Kevin E. Thorpe wrote:
Hello.
I am getting an error thrown from tkrplot. It is
X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 1 at size 12
could not be loaded
sessionInfo()
R version 2.10.1 Patched (2009-12-29 r50852)
i686-pc-linux-gnu
locale:
[1] LC_CTYPE=en_US
version?
I'm pretty sure I have the necessary fonts. I just may need to tell X
where they are, so I'm wondering exactly which font(s) are being requested.
Thanks.
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
(and not attached):
[1] cluster_1.12.0 grid_2.8.0
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
.
Kevin E. Thorpe wrote:
I was messing around with some data in R and SAS (the reason is
unimportant) fitting a multiple linear regression and got a
curious discrepancy. The data set is too big to post, but if
someone wants it, I can send it.
So, here are the (partial) results:
From R
this exists in MiKTeX) command builds
a pdf file.
Kevin
Best regards,
Joel
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax
Hopefully this makes sense.
Thanks,
Kevin
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.3016
Peter Dalgaard wrote:
Kevin E. Thorpe wrote:
I'm sure this is simple enough, but an R site search on my subject
terms did suggest a solution. I have a numeric vector with many
values that I wish to create a factor from having only a few levels.
Here is a toy example.
x - 1:10
x -
factor
using, or do I need to have an additional line
sciach$dummyba[sciach$ba==1] - 1
Thanks in advance.
David
Try sciach$dummyba - ifelse(sciach$ba==0,2,1)
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
of this function:
f(x)=(x-3)^4
with the Newton method.
4.) Define a function that is able to calculate the geometric mean of a
seriation:
Sorry for all these questions...
Thanks a lot!!!...
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge
BATCH regressExpr.spl temp` work?
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.6057
Daniel Fernandez wrote:
I'm not sure but my guess is that part isn't working... is that the way
to call R from perl?
It's the way I would call R in batch from the command line. In your
call you are missing the CMD part.
Sent from my iPhone
On May 6, 2009, at 8:09 AM, Kevin E. Thorpe
to the robustness of the estimates. I would think that could also
account for tail departures especially.
I don't gave the gam package installed, so can't test these myself
at the moment.
- Original Message -
From: Kevin E. Thorpe kevin.tho...@utoronto.ca
Date: Thursday, March 19, 2009 8:23 pm
Kevin E. Thorpe wrote:
Ravi Varadhan wrote:
Good try, Kevin. But that doesn't seem to do it.
set.seed(123)
x - sort(runif(100))
y - sin(4*pi*x) + rnorm(100, sd=0.2)
ans.lo2 - loess(y ~ x, degree=2, span=0.75)
ans.gam2 - gam(y ~ lo(x, degree=2, span=0.75))
summary(ans.lo2$fitted - ans.gam2
,span=0.75,degree=2)) and see if that helps.
Kevin
--
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Dalla Lana School of Public Health
University of Toronto
email: kevin.tho...@utoronto.ca Tel: 416.864.5776 Fax: 416.864.6057
1 - 100 of 127 matches
Mail list logo