-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
47 lines (33 loc) · 1.58 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# downscaler
[](https://travis-ci.org/FRBCesab/downscaler)
[](https://ci.appveyor.com/project/FRBCesab/downscaler)
[](https://www.repostatus.org/#active)
[](https://opensource.org/licenses/MIT)
This package is an alternative to [`raster::resample()`](https://www.rdocumentation.org/packages/raster/versions/3.0-7/topics/resample) and downscales a raster to coarser resolution in a more efficient way (for large rasters).
## Installation
To install the package `downscaler` from GitHub, first install the package [`devtools`](http://cran.r-project.org/web/packages/devtools/index.html) from the CRAN.
```{r echo = TRUE, eval = FALSE}
### Install the < devtools > package
install.packages("devtools", dependencies = TRUE)
```
Then install the `downscaler` package:
```{r echo = TRUE, eval = FALSE}
### Install the < downscaler > package from GitHub
devtools::install_github("frbcesab/downscaler")
### Load the < downscaler > package
library(downscaler)
```
## Example
Type `?downscaler::downscale` for an example.