From 20385fb256a77b15bd75af37849b3a10d251c738 Mon Sep 17 00:00:00 2001 From: Jinseob Kim Date: Fri, 26 Jan 2024 14:48:34 +0900 Subject: [PATCH] 0.5.3 cran --- .Rbuildignore | 1 + DESCRIPTION | 2 +- man/jskm.Rd | 11 +++++++++-- man/svyjskm.Rd | 12 ++++++++++++ 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/.Rbuildignore b/.Rbuildignore index 39d20f2..5434374 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,5 +1,6 @@ ^appveyor\.yml$ ^docs$ +^cla$ ^_pkgdown\.yml$ ^.*\.Rproj$ ^\.Rproj\.user$ diff --git a/DESCRIPTION b/DESCRIPTION index dad12ca..68855e5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -3,7 +3,7 @@ Title: Kaplan-Meier Plot with 'ggplot2' Version: 0.5.3 Date: 2024-01-24 Authors@R: c(person("Jinseob", "Kim", email = "jinseob2kim@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9403-605X")), - person("yoonkyoung", "Chun", email = "rachel200357@gmail.com"), + person("yoonkyoung", "Chun", email = "rachel200357@gmail.com", role = "aut"), person("Zarathu", role = c("cph", "fnd")) ) Description: The function 'jskm()' creates publication quality Kaplan-Meier plot with at risk tables below. 'svyjskm()' provides plot for weighted Kaplan-Meier estimator. diff --git a/man/jskm.Rd b/man/jskm.Rd index 17396c8..0b71a33 100644 --- a/man/jskm.Rd +++ b/man/jskm.Rd @@ -41,8 +41,7 @@ jskm( theme = NULL, nejm.infigure.ratiow = 0.6, nejm.infigure.ratioh = 0.5, - nejm.infigure.ymax = 1, - nejm.infigure.ymin = 0, + nejm.infigure.ylim = c(0, 1), ... ) } @@ -113,6 +112,14 @@ jskm( \item{linewidth}{Line witdh, Default = 0.75} +\item{theme}{Theme of the plot, Default = NULL, "nejm" for NEJMOA style, "jama" for JAMA style} + +\item{nejm.infigure.ratiow}{Ratio of infigure width to total width, Default = 0.6} + +\item{nejm.infigure.ratioh}{Ratio of infigure height to total height, Default = 0.5} + +\item{nejm.infigure.ylim}{y-axis limit of infigure, Default = c(0,1)} + \item{...}{PARAM_DESCRIPTION} } \value{ diff --git a/man/svyjskm.Rd b/man/svyjskm.Rd index 7cb497c..c10da5b 100644 --- a/man/svyjskm.Rd +++ b/man/svyjskm.Rd @@ -6,6 +6,7 @@ \usage{ svyjskm( sfit, + theme = NULL, xlabs = "Time-to-event", ylabs = "Survival probability", xlims = NULL, @@ -33,12 +34,17 @@ svyjskm( cut.landmark = NULL, showpercent = F, linewidth = 0.75, + nejm.infigure.ratiow = 0.6, + nejm.infigure.ratioh = 0.5, + nejm.infigure.ylim = c(0, 1), ... ) } \arguments{ \item{sfit}{a svykm object} +\item{theme}{Theme of the plot, Default = NULL, "nejm" for NEJMOA style, "jama" for JAMA style} + \item{xlabs}{x-axis label, Default: 'Time-to-event'} \item{ylabs}{y-axis label.} @@ -93,6 +99,12 @@ svyjskm( \item{linewidth}{Line witdh, Default = 0.75} +\item{nejm.infigure.ratiow}{Ratio of infigure width to total width, Default = 0.6} + +\item{nejm.infigure.ratioh}{Ratio of infigure height to total height, Default = 0.5} + +\item{nejm.infigure.ylim}{y-axis limit of infigure, Default = c(0,1)} + \item{...}{PARAM_DESCRIPTION} } \value{