Skip to content

Commit

Permalink
Improve documentation to include new features in pp_clean().
Browse files Browse the repository at this point in the history
  • Loading branch information
xfim committed Nov 11, 2022
1 parent dd9f254 commit 154d2e2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vignettes/using_PolicyPortfolios.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,19 @@ A <- pp_array(P.energy)
dim(A)
```

Another possibility is the use of `pp_clean()` with the argument
`setting.direction` set to `TRUE`, in order to get not the portfolio itself, but
the assessment of the changes in the setting (Scope/Level) and in the direction
(Expansion/Dismantling).

```{r eval = FALSE, echo = TRUE}
spreadsheet <- read.table(...)
d.setting <- pp_clean(spreadsheet,
setting.direction = TRUE)
```



# Final remarks
`PolicyPortfolios` facilitates the generation of measures of policy portfolios
and its visualization, as well as the cleaning process of such datasets. It only
Expand Down

0 comments on commit 154d2e2

Please sign in to comment.