Displaying 20 results from an estimated 300 matches similar to: "rcs fits in design package"
2008 Dec 01
1
explaining a model with rcs() terms
Hi, I am using the rcs() function in the Design library to model
non-linearity that is not well characterized by an otherwise
mechanistic function. I am able to make the model 'available' to
others through the excellent nomogram() function and the set of tables
that it can create. However, I would like to present the model in an
'expanded' format-- probably what rcspline.restate()
2010 Oct 13
1
Building rpm package for Hmisc on Fedora 12
Hi, I'm trying to get the 'xts' library from CRAN packaged for Fedora 12, and
one of its dependencies is 'Hmisc'. I have created a spec file for that using
R2spec, but building it fails with something in building the manual pages:
Warning: ./man/escapeRegex.Rd:22: unknown macro '\backslash'
[similar warnings snipped]
Warning: newline within quoted string at
2005 May 02
2
Restricted cubic spline function ERROR?: glm(Y~rcs(x,5))
Dear all,
Is the restricted cubic spline function working properly in the glm model?
We used glm(y~rcs(x,5), family=binomial) but it seems that for some
theoretical reasons the rcs, restricted cubic spline function can not be
fitted by a glm function. Is this correct?
Regards,
Jan
((Originally, we used lrm(y~ rcs(x,5)) but we couldn't find how to derive
the AIC value of the fitted model.
2011 Jun 11
3
rcspline.plot query
Dear all,
As I am new to the R community - although eager to advance- I would
like to pose a question to the community.
I have an SPSS file which I have imported it in R (with the read.spss
command) which conists of scale (continuous) variable "adiponectin" and
the corresponding categorical value "death" (0=No, 1=Yes). In all there
are 60 observations (among which
2011 May 06
2
rcspline.problem
Dear Dr ;
I am a PhD student at Epidemiology department of National University of
Singapore. I used R command (rcspline.plot) for plotting restricted cubic
spline ??? the model is based on Cox. I managed to get a plot without
adjustment for other covariates, but I have a problem regarding to
adjusting the confounders.
I applied below command to generate the matrix for
2010 Nov 25
1
How to change value of y axis from log relative Hazard to relative Hazard
http://r.789695.n4.nabble.com/file/n3058505/file.csv file.csv
Hi, Rusers
I have a problem in making a rcspline.plot with a Hmisc package.
My data is in the upload attachment.
My programme as follows:
library(Hmisc)
A<-read.csv("file.csv",header=TRUE)
attach(A)
2004 Nov 30
2
impute missing values in correlated variables: transcan?
I would like to impute missing data in a set of correlated
variables (columns of a matrix). It looks like transcan() from
Hmisc is roughly what I want. It says, "transcan automatically
transforms continuous and categorical variables to have maximum
correlation with the best linear combination of the other
variables." And, "By default, transcan imputes NAs with "best
2008 Nov 06
0
Inference and confidence interval for a restricted cubic spline function in a hurdle model
Dear list,
I'm currently analyzing some count data using a hurdle model. I've used
the rcspline.eval function in the Hmisc-library to contruct the spline
terms for the regression model, and what I want in the end is the ability
to compute coefficients and confidence intervals for different changes in
the smooth function as well as plotting the smooth function along with the
2007 Mar 04
0
Trouble figuring messages from rcspline.plot
I have an attached data.frame with a binary composite variable (comp)
and a predictor (egfr). I am trying to plot a restricted cubic spline using:
require (Hmisc)
require (Design)
rcspline.plot(x=egfr,y=comp,model="logistic",nk=5,knots=NULL,
xlab="label1", ylab="Label2",
plim=c(0,1), plotcl=TRUE,
showknots=TRUE,
2003 Apr 24
1
"Missing links": Hmisc and Design docs
Hi folks,
Using R Version 1.6.2 (2003-01-10)
on SuSE Linux 7.2,
I just installed Hmisc_1.5-3.tar.gz and Design_1.1-5.tar.gz
These were taken from
http://hesweb1.med.virginia.edu/biostat/s/library/r
Checked the dependencies:
Hmisc: grid, lattice, mva, acepack -- all already installed
Design: Hmisc, survival -- survival already installed, so
installed Hmisc first
All seems to go
2012 Apr 19
2
Gls function in rms package
Dear R-help,
I don't understand why Gls gives me an error when trying to fit a
model with AR(2) errors, while gls (from nlme) does not. For example:
library(nlme)
library(rms)
set.seed(1)
d <- data.frame(x = rnorm(50), y = rnorm(50))
gls(y ~ x, data=d, correlation = corARMA(p=2)) #This works
Gls(y ~ x, data=d, correlation = corARMA(p=2)) # Gives error
# Error in
2008 Nov 03
0
NaN causes "error in fitter" with cph.calibrate from pkg Design
I have been attempting to use cph models to get better calibration
of my models for which I had originally used logistic regression. I
tried running with 40 repetitions and got an error. I then tried 500
repetitions (thinking that the NaNs in the output below might be
caused by that choice) and then let my computer crunch for several
hours and got only the same error message and
2004 Sep 09
2
Rd syntax error detected in CRAN daily checks
Please forgive me if you already received this. I had an e-mail sending
glitch this morning.
http://cran.r-project.org/src/contrib/checkSummary.html reported an
error in Design.trans.Rd
* checking Rd files ... ERROR
Rd files with syntax errors:
/var/mnt/hda3/R.check/r-devel/PKGS/Design/man/Design.trans.Rd:
unterminated section 'alias'
The .Rd file is attached. It begins
2007 Sep 26
1
--keep-foreign-metadata question
On 9/26/07, Josh Coalson <xflac@yahoo.com> wrote:
> --- Martin Leese <martin.leese@stanfordalumni.org> wrote:
...
> > Where can I find more detail on what is a
> > "non-audio" RIFF chunk?
>
> it is any riff chunk that is not "fmt " or "data"
>
> > Ambisonic ".amb" files are WAVE-EX files with
> > a
2007 Sep 26
2
--keep-foreign-metadata question
Not sure if this belongs here or in flac-dev.
I am subscribed to both, so flop it over if fits
better over there.
Looking at the Changelog for FLAC 1.2.1
(17-Sep-2007), it says:
"With the new --keep-foreign-metadata in
flac, non-audio RIFF and AIFF chunks can
be stored in FLAC files and recreated when
decoding."
Where can I find more detail on what is a
2003 May 08
2
natural splines
Apologies if this is this too obscure for R-help.
In package splines, ns(x,,knots,intercept=TRUE) produces an n by K+2
matrix N, the values of K+2 basis functions for the natural splines with K
(internal) knots, evaluated at x. It does this by first generating an
n by K+4 matrix B of unconstrained splines, then postmultiplying B by
H, a K+4 by K+2 representation of the nullspace of C (2 by K+4),
1996 Nov 25
2
XMCD v2.1 released (was: Security Problems in XMCD)
This is to announce that XMCD 2.1 patchlevel 0 has been released
which fixes all of the issues previously raised by David Meltzer.
It also contains a number of other minor feature and functionality
enhancements. The new version may be obtained via the xmcd web page at:
http://sunsite.unc.edu/~cddb/xmcd/
Users of xmcd with older versions are encouraged to upgrade.
-Ti
--
\\ // XMCD - Motif CD
2013 Nov 23
0
Hmisc package 3.13-0
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 graphics functions for
summarizing and displaying data with an aim of replacing tables. There
is also
2009 Jan 29
2
Adding vertical line to histogram and qplot "stacked" plot
R-users it appears I am leaning on your knowledge once again. Is there any way to add a vertical line to a histogram and qplot "stacked" plot? Here is my current attempt:
"qplot" approach attempt:
qplot(Run, data = data_dataframe, breaks = breaks, fill = Temperature, main = short_title) + scale_x_continuous("Data") + scale_y_continuous("Freq")
2002 Dec 13
0
Xmcd now supports Ogg Vorbis
Hi UNIX and Linux users,
Xmcd, the premier CD player program, now also supports CD ripping
to Ogg Vorbis, MP3 and other formats. For Ogg Vorbis, xmcd links
directly with the vorbis libraries for best performance and
integration.
For further info and downloads, please visit the xmcd web site:
http://www.amb.org/xmcd
Vorbis webmasters: Please add xmcd to your list of free software
that