https://github.com/resplab/dose
R package for COPD DOSE index score
https://github.com/resplab/dose
copd dose
Last synced: about 1 year ago
JSON representation
R package for COPD DOSE index score
- Host: GitHub
- URL: https://github.com/resplab/dose
- Owner: resplab
- Created: 2021-07-21T18:08:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T23:38:46.000Z (almost 5 years ago)
- Last Synced: 2025-02-06T06:43:54.249Z (over 1 year ago)
- Topics: copd, dose
- Language: R
- Homepage:
- Size: 289 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# dose
The goal of dose is to ...
## Installation
You can install the released version of dose from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("dose")
```
And the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("resplab/dose")
```
## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(dose)
## basic example code
```
What is special about using `README.Rmd` instead of just `README.md`? You can include R chunks like so:
```{r cars}
summary(cars)
```
You'll still need to render `README.Rmd` regularly, to keep `README.md` up-to-date. `devtools::build_readme()` is handy for this. You could also use GitHub Actions to re-render `README.Rmd` every time you push. An example workflow can be found here: .
You can also embed plots, for example:
```{r pressure, echo = FALSE}
plot(pressure)
```
In that case, don't forget to commit and push the resulting figure files, so they display on GitHub and CRAN.