Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SpatLyu committed Sep 23, 2024
1 parent 75c8c45 commit ab0b526
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ ndvi
### OPGD model

```{r}
discvar = names(ndvi)[-1:-3]
discvar
ndvi_opgd = opgd(NDVIchange ~ ., data = ndvi,
discvar = names(ndvi)[-1:-3],
cores = 6, type ='factor')
discvar = discvar, cores = 6)
ndvi_opgd
```

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,11 @@ ndvi
### OPGD model

``` r
discvar = names(ndvi)[-1:-3]
discvar
## [1] "Tempchange" "Precipitation" "GDP" "Popdensity"
ndvi_opgd = opgd(NDVIchange ~ ., data = ndvi,
discvar = names(ndvi)[-1:-3],
cores = 6, type ='factor')
discvar = discvar, cores = 6)
ndvi_opgd
## OPGD Model
## *** Factor Detector
Expand Down

0 comments on commit ab0b526

Please sign in to comment.