Skip to content

Commit 4d212cc

Browse files
committed
Installation from cran script added
1 parent cee4c8a commit 4d212cc

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

README.Rmd

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ knitr::opts_chunk$set(
1616
```
1717

1818

19+
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/survminer)](http://cran.r-project.org/package=survminer)
20+
1921

2022
# survminer: Survival Analysis and Visualization
2123

@@ -27,8 +29,15 @@ Find out more at http://www.sthda.com/english/wiki/survminer.
2729
## Installation and loading
2830

2931

30-
Install the latest version from GitHub:
32+
Install from CRAN as follow:
3133

34+
```{r, eval = FALSE}
35+
install.packages("survminer")
36+
```
37+
38+
39+
Or, install the latest version from GitHub:
40+
3241

3342
```{r, eval = FALSE}
3443
# Install

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<!-- README.md is generated from README.Rmd. Please edit that file -->
2+
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/survminer)](http://cran.r-project.org/package=survminer)
3+
24
survminer: Survival Analysis and Visualization
35
==============================================
46

@@ -9,7 +11,13 @@ Find out more at <http://www.sthda.com/english/wiki/survminer>.
911
Installation and loading
1012
------------------------
1113

12-
Install the latest version from GitHub:
14+
Install from CRAN as follow:
15+
16+
``` r
17+
install.packages("survminer")
18+
```
19+
20+
Or, install the latest version from GitHub:
1321

1422
``` r
1523
# Install

0 commit comments

Comments
 (0)