), importFrom
needs to know what functions you are importing [e.g. importFrom(Hmisc,
latex) importFrom(stats, anova)].
-Original Message-
From:
r-help-bounces@
[mailto:
r-help-bounces@
] On Behalf Of Frank Harrell
Sent: Freitag, 19. April 2013 16:26
To:
r-help@
Subject: [R
Now I see it. S3method() wants two arguments so I need to create multiple
S3method() statements for each generic.
Frank
Frank Harrell wrote
Right, I should have said import(Hmisc) instead of importFrom(Hmisc), but
that does not explain the error message.
Blaser Nello wrote
Not sure
/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.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4
commented, minimal, self-contained, reproducible code.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Stepwise-regression-for-multivariate-case-in-R-tp4665505p4665526.html
Sent from the R help mailing list
,
because its assumed discontinuities seldom exist in nature and most
relationships are not piecewise flat.
Frank
levanovd wrote
Or even simpler (no need to specify labels):
x-runif(100,0,100)
u - cut(x, breaks = c(0, 3, 4.5, 6, 8, Inf), labels = FALSE)
-
Frank Harrell
Department
the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Tiff-plot-Resolution-issues
.
__
R-help@ 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.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View
.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Kaplan-Meier-analysis-95-CI-wider-in-R-than-in-SAS-tp4554559p4555447.html
Sent from the R help mailing list archive at Nabble.com
/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Kaplan-Meier-analysis-95-CI-wider-in-R-than-in-SAS-tp4554559p4557695.html
the posting guide
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Kaplan-Meier-analysis-95-CI
__
R-help@ 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.
-
Frank Harrell
Department
be for
this to happen. Consider resampling instead.
Frank
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Splitting-data-into-test-and-train-80-20-kepping-attributes-similar-tp4583928p4589554.html
Sent from the R
-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Re-Gls-function-in-rms-package-tp4597397p4598214.html
Sent from
]]
__
R-help@ 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.
-
Frank Harrell
Department of Biostatistics
DEADLINE FAST APPROACHING – 8th Annual International R User Conference
useR! 2012, Nashville, Tennessee USA
Registration Deadlines:
Early Registration: Passed
Regular Registration: Mar 1- May 12
Late Registration: May 13 – June 4
On-Site Registration: June 12 – June 15
Please note: Nashville is
8th Annual International R User Conference
useR! 2012, Nashville, Tennessee USA
=== Regular registration rates and most blocks of discounted
=== hotel rooms are available only 5 more days
Registration Deadlines:
Early Registration: Passed
Regular Registration: Mar 1- May 12
Late Registration:
*** Call for Late-breaking Posters ***
Abstracts may be submitted for posters presenting recent developments
and late-breaking applications of R, on topics as indicated in the
earlier call for abstracts:
http://biostat.mc.vanderbilt.edu/UseR-2012#Call_for_Abstracts_and_Tutorial
You did not follow the posting guide, did you use pure ascii email, and
used illegal characters in your source code. This caused extra work.
Once I cleaned up your characters and made the example self-contained,
the labels worked fine for me. Here's the cleaned-up code:
library(rms)
x1 -
A significant update to the Hmisc package is now available on CRAN for
all platforms. Hmisc source is now on github at
https://github.com/harrelfe/Hmisc and the full change log may be found
at https://github.com/harrelfe/Hmisc/commits/master
The most important updates are additions of new
The rms package has had several updates in version 4.1-0:
* Fixed orm.fit to not create penalty matrix if not needed
(penalties are not yet implemented anyway)
* Added yscale argument to plot.Predict
* Added Wald test simulation to orm help file
* Added example in help file for
I would like to do this:
f - function(formula, data=NULL) {
gg - sqrt
model.frame(formula, data=data)
}
x - y - 1:10
f(y ~ gg(x))
Error in eval(expr, envir, enclos) : could not find function gg
Is there a simple way to get access to gg from within the model.frame
invocation inside f?
Thank you Bill, that worked perfectly.
Frank
__
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,
Is it possible to vary the size of the panels in lattice within one
page? The examine I have in mind is a 3 row by 2 column display where I
vary the y-axis scales in a dot plot and there are only a few levels on
the y-axis for one of the rows. I'd like to remove wasted space in that
row.
Thanks very much Rich and Duncan. latticeExtra's resizePanels function
was a perfect solution.
Frank
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
This is an unstable process. I suggest using the bootstrap to get a
confidence interval for the rank of each correlation coefficient among all
non-diagonal correlations.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4
My yearly Regression Modeling Strategies course is expanded to 4 days
this year to be able relax the pace a bit. Details are below.
Questions welcomed.
-
*RMS Short Course 2014*
Frank E. Harrell, Jr., Ph.D., Professor and
Hmisc has had the following updates, with some of the new functions
demonstrated on http://biostat.mc.vanderbilt.edu/HmiscNew . Much of the
new work is motivated by the need to replace tables with graphics.
Changes in version
.
Is there a way that i can see the progress of the read?
Or is there another way to read the file with less computing time?
I do not have access to SAS, the file was sent to me.
Let me know what you guys think
KR
Hans
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
My yearly Regression Modeling Strategies course is expanded to 4 days
this year to be able relax the pace a bit. Details are below.
Questions welcomed.
-
*RMS Short Course 2014*
Frank E. Harrell, Jr., Ph.D., Professor and Chair
Please try hard to create a simple reproducible example, then I'll work
on it.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
When using cph in the rms package there is a function Mean that operates
on cph objects to produce an R function for computing the mean or
restricted mean life time.
Frank
__
R-help@r-project.org mailing list
Greg I just re-copied the latest subplot and its help file from
TeachingDemos to Hmisc for the next release. Thanks for pointing this out.
Frank
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
. Thanks: Benjamin Tyner
* DESCRIPTION, NAMESPACE: multiple function changes to work in R-devel
See http://biostat.mc.vanderbilt.edu/Hmisc,
https://github.com/harrelfe/Hmisc for more information.
Frank Harrell
Vanderbilt University
___
R-packages
: start storing all classes created by survfit.formula
* logLik.Gls: added. Makes AIC(Gls object) work.
* NAMESPACE: several changes
See http://biostat.mc.vanderbilt.edu/rms and
https://github.com/harrelfe/rms for more information.
Frank Harrell
Vanderbilt University
Subject: Regression Modeling Strategies 4-Day Short Course March 2015
*RMS Short Course 2015*
Frank E. Harrell, Jr., Ph.D., Professor and Chair
Department of Biostatistics, Vanderbilt University School of Medicine
*March 3, 4, 5 6, 2015* With Optional R Workshop March 2
9:00am - 4:00pm
Student
*RMS Short Course 2015*
Frank E. Harrell, Jr., Ph.D., Professor and Chair
Department of Biostatistics, Vanderbilt University School of Medicine
*March 3, 4, 5 6, 2015* With Optional R Workshop March 2
9:00am - 4:00pm
Student Life Center Board of Trust Room
Vanderbilt University
Nashville
Several updates have been made to the Hmisc package:
Changes in version 3.16-0 (2015-04-25)
* html.contents.data.frame: corrected html space character to add
semicolon
* ggplot.summaryP: added size of points according to denominators
* colorFacet: new function
* labelPlotmath:
For building design matrices for Cox proportional hazards models in the
cph function in the rms package I have always used this construct:
Terms - terms(formula, specials=c(strat, cluster, strata), data=data)
specials - attr(Terms, 'specials')
stra- specials$strat
Terms.ns - Terms
Terry - your example didn't demonstrate the problem because the variable
that interacted with strata (zed) was not a factor variable.
But I had stated the problem incorrectly. It's not that there are too
many strata terms; there are too many non-strata terms when the variable
interacting
Thank you very much Terry. I'm still puzzled at why this worked a year
ago. What changed? I'd very much like to reverse the change by setting
an argument somewhere or manipulating the terms object.
I echo your sentiments about the general approach.
Frank
On 06/15/2015 09:05 AM, Therneau,
It's implemented in the R rms package's lrm and orm functions.
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
http://r.789695.n4.nabble.com/Nagelkerke-Pseudo-R-squared-tp4710014p4710031.html
Sent from the R help mailing list archive
New versions of Hmisc and rms are available on CRAN. Changes are listed
below.
The most significant change to Hmisc is the addition of the ffCompress
function that creates an optimal ff package object for large data frames
by computing the maximum number of bits used by each numeric or
Please note that Kirsten is cross-posting to stats.stackexchange.com
creating extra work for everyone.
--
Frank E Harrell Jr Professor and Chairman School of Medicine
Department of *Biostatistics*
Rolf I believe \textsf is the correct font to use for the symbol R but
not necessarily for the names of R variables and functions. I'd like
more discussion about that.
Frank
--
Frank E Harrell Jr Professor and
This happens when you have not strat variables in the model.
--
Frank E Harrell Jr Professor and Chairman School of Medicine
Department of *Biostatistics* *Vanderbilt University*
On Thu, Jun 2, 2016 at 10:55 AM, Steve Lianoglou
This does seem to be a good situation for ordinal regression. The R rms
package's orm function allows for thousands of categories in Y. But it
doesn't handle censoring.
This discussion would be better for stats.stackexchange.com
Frank
--
I use this function to update my installed R packages:
updatePac <- function (checkBuilt = FALSE, ...)
update.packages(repos = "http://cran.rstudio.com;, instlib =
"/usr/local/lib/R/site-library",
checkBuilt = checkBuilt, ...)
When I type updatePac() I get:
Warning: package 'MASS' in
In recent versions of rms on CRAN there was a non-downward compatible
change. To get latex output for summary, anova, and print on fit objects
you leave off file="" (because we're usually using knitr anyway) and use
options(prType='latex')
anova(f) # LaTeX output
You can use
Hmisc 4.0-0 is now on CRAN. The package has undergone a massive update.
The most user-visable changes are;
- support for Rmarkdown html notebooks
- advanced html tables using the htmlTable package and summaryM function;
can copy and paste into word processors
- support for plotly interactive
A major new version of the rms package is now on CRAN. The most
user-visible changes are:
- interactive plotly graphic methods for model fits. The best example of
this is survplot for npsurv (Kaplan-Meier) estimates where the number of
risk pop up as you hover over the curves, and you can click
Fixed 'maxiter' in the help file. Thanks.
Please give the original source of that dataset.
That dataset is a tiny sample of GUSTO-I and not large enough to fit this
model very reliably.
A nomogram using the full dataset (not publicly available to my knowledge)
is already available in
*RMS Short Course 2018*
Frank E. Harrell, Jr., Ph.D., Professor
Department of Biostatistics, Vanderbilt University School of Medicine
fharrell.com @f2harrell
*May 15-18, 2018* With Optional R Workshop May 14
9:00am - 4:00pm
Alumni Hall
Vanderbilt University
Nashville Tennessee USA
See
401 - 452 of 452 matches
Mail list logo