-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jskm issue #5
Comments
here the code problem during package installation
|
You probably need to update the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to estimate the survival probabilities at define time point using the KM function and jskm package
p<- survfit(Surv(Composite.surv, Composite.event) ~ StageEcho_04, data=mydata)
jskm (p)
and it find out this error
"Error in element_line(linewidth = 0.5, colour = "black") :
unused argument (linewidth = 0.5)"
So I tried also to use the full formula to fix this aestetic problem but anyway, doesn't work
jskm( p, table=FALSE, xlabs="Time-to-event",
ylabs=NULL, xlims=c(0,max(p$time)), ylims=c(0,1),
surv.scale=c("default","percent"),
ystratalabs=names(p$strata),
ystrataname="Strata",
timeby=signif(max(p$time)/7,1), main="",
pval=FALSE, pval.size=5,
pval.coord=c(NULL,NULL),
pval.testname=F, marks=TRUE,
shape=3,
legend=TRUE,
legendposition=c(0.85,0.8), ci=FALSE, subs=NULL,
label.nrisk="Numbersatrisk", size.label.nrisk=10, linecols="black", dashed=FALSE, cumhaz=F,
cluster.option="None",
cluster.var=NULL, data=NULL,
cut.landmark=NULL,
showpercent=F, status.cmprsk=NULL, linewidth=0.5)
can you help me please?
The text was updated successfully, but these errors were encountered: