Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
cyk0315 committed Jan 25, 2024
1 parent cad6de3 commit 757f69d
Show file tree
Hide file tree
Showing 23 changed files with 20 additions and 11 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# jskm 0.5.3

* Update: Add theme('jama','nejmoa') to `jskm` and `svyjskm`
* Update: Add theme('JAMA','NEJM') to `jskm` and `svyjskm`

# jskm 0.5.2

Expand Down
11 changes: 7 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,15 @@ jskm(fit2, mark = F, surv.scale = "percent", table = T, status.cmprsk = "1")
jskm(fit2, mark = F, surv.scale = "percent", table = T, status.cmprsk = "1", showpercent = T, cut.landmark = 500)
```

### Theme Jama
### Theme

#### JAMA

```{r}
jskm(fit, theme='jama', cumhaz = T, table=T, mark = F, ylab = "Cumulative incidence (%)", surv.scale = "percent", pval =T, pval.size = 6, pval.coord = c(300, 0.7))
```

### Theme Nejmoa
#### NEJM

```{r}
jskm(fit, theme='nejm', nejm.infigure.ratiow = 0.6, nejm.infigure.ratioh = 0.4, nejm.infigure.ylim = c(0,0.7), cumhaz = T, table=T, mark = F, ylab = "Cumulative incidence (%)", surv.scale = "percent", pval =T, pval.size = 6, pval.coord = c(300, 0.7))
Expand Down Expand Up @@ -117,13 +119,14 @@ svyjskm(s3, ci = F)
svyjskm(s3, ci = F, surv.scale = "percent", pval = T, table = T, cut.landmark = 1000, showpercent = T)
```

### Theme jama
### Theme

#### JAMA
```{r}
svyjskm(s2, theme='jama', pval = T, table = T, design = dpbc)
```

### Theme nejmoa
#### NEJM

```{r}
svyjskm(s2, theme='nejm', nejm.infigure.ratiow = 0.4, nejm.infigure.ratioh = 0.4, nejm.infigure.ylim = c(0.2,1), pval = T, table = T, design = dpbc)
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,17 @@ jskm(fit2, mark = F, surv.scale = "percent", table = T, status.cmprsk = "1", sho

![](man/figures/README-unnamed-chunk-4-2.png)<!-- -->

### Theme Jama
### Theme

#### JAMA

``` r
jskm(fit, theme='jama', cumhaz = T, table=T, mark = F, ylab = "Cumulative incidence (%)", surv.scale = "percent", pval =T, pval.size = 6, pval.coord = c(300, 0.7))
```

![](man/figures/README-unnamed-chunk-5-1.png)<!-- -->

### Theme Nejmoa
#### NEJM

``` r
jskm(fit, theme='nejm', nejm.infigure.ratiow = 0.6, nejm.infigure.ratioh = 0.4, nejm.infigure.ylim = c(0,0.7), cumhaz = T, table=T, mark = F, ylab = "Cumulative incidence (%)", surv.scale = "percent", pval =T, pval.size = 6, pval.coord = c(300, 0.7))
Expand Down Expand Up @@ -168,15 +170,17 @@ svyjskm(s3, ci = F, surv.scale = "percent", pval = T, table = T, cut.landmark =

![](man/figures/README-unnamed-chunk-8-3.png)<!-- -->

### Theme jama
### Theme

#### JAMA

``` r
svyjskm(s2, theme='jama', pval = T, table = T, design = dpbc)
```

![](man/figures/README-unnamed-chunk-9-1.png)<!-- -->

### Theme nejmoa
#### NEJM

``` r
svyjskm(s2, theme='nejm', nejm.infigure.ratiow = 0.4, nejm.infigure.ratioh = 0.4, nejm.infigure.ylim = c(0.2,1), pval = T, table = T, design = dpbc)
Expand Down
Binary file modified man/figures/README-unnamed-chunk-1-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-3-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-unnamed-chunk-3-3.png
Binary file not shown.
Binary file modified man/figures/README-unnamed-chunk-4-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-4-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-unnamed-chunk-4-3.png
Binary file not shown.
Binary file modified man/figures/README-unnamed-chunk-5-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-unnamed-chunk-5-2.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-5-3.png
Binary file not shown.
Binary file modified man/figures/README-unnamed-chunk-6-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-unnamed-chunk-6-2.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-6-3.png
Binary file not shown.
Binary file modified man/figures/README-unnamed-chunk-7-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-8-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/README-unnamed-chunk-9-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed man/figures/README-unnamed-chunk-9-2.png
Binary file not shown.
Binary file removed man/figures/README-unnamed-chunk-9-3.png
Binary file not shown.
6 changes: 4 additions & 2 deletions vignettes/jskm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ svyjskm(s3, ci = F, showpercent = T)
svyjskm(s3, ci = F, surv.scale = "percent", pval = T, table = T, cut.landmark = 1000)
```

### Theme jama
### Theme

#### JAMA

```{r}
svyjskm(s2, theme='jama', pval = T, table = T, design = dpbc)
```

### Theme nejmoa
#### NEJM

```{r}
svyjskm(s2, theme='nejm', nejm.infigure.ratiow = 0.4, nejm.infigure.ratioh = 0.4, nejm.infigure.ylim = c(0.2,1), pval = T, table = T, design = dpbc)
Expand Down

0 comments on commit 757f69d

Please sign in to comment.