Displaying 3 results from an estimated 3 matches for "showknots".
Did you mean:
showdots
2010 Nov 25
1
How to change value of y axis from log relative Hazard to relative Hazard
...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)
rcspline.plot(factor,Time,model="cox",xrange=c(0,3),ylim=c(-1,2),event=event,nk=4,knots=c(0.8,1.0,1.5,2.0),showknots=TRUE,plotcl=FALSE,statloc="none",subset=SEX=="2",lty=2)
The plot could be made but its y axis represents the value of log
relative Hazard, is there any method to change value of y axis from log
relative Hazard to relative Hazard?
Millions of thanks!
--
View this message...
2007 Mar 04
0
Trouble figuring messages from rcspline.plot
...redictor (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, add=FALSE, lty=1, noprint=FALSE, smooth=FALSE,
main="Title goes here ");
I get the following error message (exactly as cut/pated):
Loading required package: package
Error in requirePackage("Design") : This function requires theDesignpackage
In addition: Wa...
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