Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lasso #31

Open
wants to merge 197 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
197 commits
Select commit Hold shift + click to select a range
ad3a47c
add_zoi_layers: add first version of the function
bniebuhr Apr 25, 2023
5f55b0c
data: reorganize reindeer data sorting by id and time
bniebuhr Apr 26, 2023
aa46b47
DESCRIPTION: updated dependencies
bniebuhr May 4, 2023
ae5ee5f
conditional_boyce: added function as Bram has wrote it originally
bniebuhr May 4, 2023
4afb111
add_zoi_formula: first commit with structural modifications from the …
bniebuhr May 4, 2023
d447461
extract_case_strata: first commit, with some changes from the origina…
bniebuhr May 4, 2023
93297fb
filter_na_strata; first commit with documentation a a few small chang…
bniebuhr May 4, 2023
12ff7e2
net_issf: first commit, basically the same function as original
bniebuhr May 4, 2023
c276985
set_validation_sampling and set_samplimg_parms: first commit, with so…
bniebuhr May 4, 2023
8209c3f
kernel_prediction: added function, equal to original
bniebuhr May 4, 2023
bc1e64f
spat_strat: first commit, with changes from raster to terra from the …
bniebuhr May 4, 2023
5f87c52
spat_stat_fit_issf: first commit, changed from spat_stat_issf with sm…
bniebuhr May 4, 2023
9fcff7a
data-raw/test_lasso: prepare data to test lasso approach
bniebuhr May 4, 2023
ee91dda
concordanceSomers_d: added Rd
bniebuhr May 4, 2023
93c9da7
conditional_maxnet: added with no modification from the original, jus…
bniebuhr May 4, 2023
0f3be92
Merge branch 'main' into lasso
bniebuhr May 4, 2023
a7eb759
I added an example comment
bniebuhr May 8, 2023
a22f9e9
extract_response_strata: changed name from extract_case_strata to res…
bniebuhr Jun 12, 2023
7346024
add_zoi_formula: added more documentation and examples; added additio…
bniebuhr Jun 12, 2023
c228b91
create_resamples: add function v1 with only random sampling so far an…
bniebuhr Jun 12, 2023
8d5dcc9
filter_na_strata: do not use na.omit - double check! also, changed ex…
bniebuhr Jun 12, 2023
e32d6df
reindeer dataset: updated from track_xyt to only tibble
bniebuhr Jun 12, 2023
0abff2e
net_logit: Added function net_logit v1 for fitting RSF with glmnet
bniebuhr Jun 12, 2023
67b005b
net_clogit: renamed net_issf to net_clogit and standardized code to c…
bniebuhr Jun 12, 2023
12e0ae4
removed to_do.R (old before MEE 2023 publication)
bniebuhr Jun 12, 2023
9dad04e
create_resamples: replaced sapply by lapply which returns lists when …
bniebuhr Jun 13, 2023
f347ab3
removed set_sampling_params(), now these are parameters from create_r…
bniebuhr Jun 13, 2023
808dbaa
create_resamples: implemented spatial sampling with H0 (instead of se…
bniebuhr Jun 13, 2023
d6dddd9
spat_strat: updated documentation
bniebuhr Jun 13, 2023
68db897
renamed spat_strat_fit_issf as fit_net_clogit
bniebuhr Jun 13, 2023
11cbd6f
reindeer_annotated: added data to the package
bniebuhr Jun 14, 2023
c5be5e5
Added somersD and AUC to the namespace
bniebuhr Jun 15, 2023
43cb5cd
create_resamples: added H0 to the output list and excluded the possib…
bniebuhr Jun 15, 2023
a6615b4
filter_na_strata: changed example in manual
bniebuhr Jun 15, 2023
7be3c81
kernel_prediction: improved code workflow
bniebuhr Jun 15, 2023
fe457c6
fit_net_clogit: updated based on argument samples created by create_r…
bniebuhr Jun 15, 2023
7f5a9d1
added example_complete_clogit running well
bniebuhr Jun 15, 2023
170d812
create_resamples: added printed message
bniebuhr Jun 15, 2023
857be20
reindeer_ssf: renamed annotated data for ssf from reindeer_annotated
bniebuhr Jun 15, 2023
a2fa56f
spat_strat: improved documentation
bniebuhr Jun 15, 2023
2ef0b4e
fit_net_clogit: corrected sampling dataset, data instead of data_anno…
bniebuhr Jun 15, 2023
fae996f
concordance: added condition to avoid a warning for rsf, when there i…
bniebuhr Jun 21, 2023
953a6b3
reindeer data: added reindeer_rsf with annotated data for rsf
bniebuhr Jun 21, 2023
85c371b
filter_na_strata: updated example using survival package
bniebuhr Jun 21, 2023
6e29a11
fit_net_logit: implemented, working for random sampling; must be re-w…
bniebuhr Jun 21, 2023
174d8f9
bag_fit_net_logit: implemented, seem to work
bniebuhr Jun 21, 2023
2684ba7
bag_lasso: implemented, seems ok
bniebuhr Jun 21, 2023
cfd8353
spat_strat: added H1_as_H0 parameter, tested
bniebuhr Jun 22, 2023
c2783cd
create_resamples: improved documentations of parameters
bniebuhr Jun 22, 2023
4afbfc0
DESCRIPTION: added pROC package to use for auc
bniebuhr Jun 26, 2023
8376dc0
concordance: added proc_AUC as a wrapper to pROC::auc
bniebuhr Jun 26, 2023
f2cc946
bag_models: changed name from bag_summary/multi_issf, added summary f…
bniebuhr Jun 26, 2023
b0b7cee
create_resamples: added new warnings for when too much data is remove…
bniebuhr Jun 26, 2023
e1b4d3c
spat_strat: added row/step id in all outputs
bniebuhr Jun 26, 2023
718fdbe
fit_net_logit: added pROC_AUC option, filtered only the relevant cova…
bniebuhr Jun 26, 2023
f07539e
fit_net_clogit: added pROC_AUC option, added filter for relevant cova…
bniebuhr Jun 26, 2023
0618c1c
reindeer_rsf: changed data and documentation to data from Hardangervi…
bniebuhr Jun 26, 2023
fb796f5
variable_importance: added functions, first version from Brams code a…
bniebuhr Jun 26, 2023
24b3dc2
NAMESPACE: added all new functions
bniebuhr Jun 26, 2023
84b369c
net_logit and net_clogit: added standardize parameter to be passed to…
bniebuhr Jun 28, 2023
ed73b9f
variable_importance: added variable block, samples parameter (not imp…
bniebuhr Jun 28, 2023
b1a58eb
fit_net_logit: added standardize parms, subsampling for only the cova…
bniebuhr Jun 28, 2023
ecc0f26
fit_net_clogit: added standardize parameter, not yet implemented
bniebuhr Jun 28, 2023
c93d92e
bag_models: removed f from parms, added n, f, method, metric, numeric…
bniebuhr Jun 28, 2023
36f9217
bag_predict: added function as Bram designed, issues with weighted Qu…
bniebuhr Jun 28, 2023
7a9222b
bag_plot_response: added as Bram designed, added data to parms to get…
bniebuhr Jun 28, 2023
91df3b2
variable_importance: corrected remove_low argument in the code
bniebuhr Jul 3, 2023
04c2170
add_zoi_formula: added more elements to the output grid
bniebuhr Jul 3, 2023
a7a2edb
bag_models: corrected response var in mm_formula, added "bag" as a class
bniebuhr Jul 3, 2023
7b8745a
bag_plot_response: added "median", "mean," and "zero" to baseline opt…
bniebuhr Jul 3, 2023
e86f631
rescale_coefficients: changed to UseMethods again, implemented rescal…
bniebuhr Jul 4, 2023
bb6502e
concordance: removed supressWarnings from proc_AUC
bniebuhr Jul 4, 2023
d946639
net_logit: added penalty.factor parameter and func parameter (glmnet …
bniebuhr Jul 4, 2023
d5e222c
bag_predict: added weights correctly in the weighted quantile
bniebuhr Jul 4, 2023
f6531ca
fit_net_logit: implemented methods with adaptivelasso and decayadapti…
bniebuhr Jul 4, 2023
01c54df
plot_coef: first implementation
bniebuhr Jul 4, 2023
7f16185
bag_plot_response: added n_features parm in documentation
bniebuhr Jul 4, 2023
a0add50
plot_coef: added plot_type, remove_low, remove_high, show_legend para…
bniebuhr Jul 7, 2023
5a72cfb
git_net_logit: corrected penalties for adaptive and decay adaptive la…
bniebuhr Jul 7, 2023
8de21c2
create_resamples: corrected output for H0 in spatially stratified sam…
bniebuhr Jul 7, 2023
5aafb17
bag_predict: added logit response
bniebuhr Jul 7, 2023
27ac5ae
plot_response: changed as a method for class bag, from bag_plot_response
bniebuhr Jul 7, 2023
192914a
bag_models: added weighing funcitons
bniebuhr Jul 7, 2023
6136ac9
vignette/logit: first draft working with Lasso, AdpLasso, and DecayAd…
bniebuhr Jul 7, 2023
62da677
net_logit: better documentation, standardized with net_clogit
bniebuhr Jul 7, 2023
61d0059
net_clogit: implemented all parameters and steps as in net_logit
bniebuhr Jul 7, 2023
a262438
bag_fit_net_logit: added parms alpha and penalty.factor to parallel c…
bniebuhr Jul 13, 2023
7ad6ccc
bag_fit_net_logit: corrected a } when closing for loop
bniebuhr Jul 13, 2023
51debab
bag/fit_net_logit: substantial changes to make functions correspond t…
bniebuhr Jul 13, 2023
91eb548
kernel_prediction: added strata to make sure errors do not occur
bniebuhr Jul 13, 2023
0b51c9d
bag_models: added score2weight_mean and inv_mean function, and the se…
bniebuhr Aug 8, 2023
0de9212
explore_blocks and explore_blocks_pre: added first version of functions
bniebuhr Aug 8, 2023
6f734f8
variable_importance: added metric parameter for when a different metr…
bniebuhr Aug 8, 2023
45ba85f
fitting_zoi_clogit: add incomplete version of vignette
bniebuhr Aug 8, 2023
ddccc46
bag_models: added second warning, corrected col parameters in hte sco…
bniebuhr Aug 18, 2023
42339cb
fit_net_(c)logit: corrected typo in Ridge option
bniebuhr Aug 18, 2023
19a39fa
changed predictor_grid to predictor_table parameter name
bniebuhr Aug 21, 2023
3cd7304
bag_fit_net_clogit: corrected object name for foreach option
bniebuhr Aug 29, 2023
8aa379b
add_zoi_formula: add check when there is more than one type of functi…
bniebuhr Mar 26, 2024
e22699d
add_zoi_formula: add check when there is more than one type of functi…
bniebuhr Mar 26, 2024
a1ee553
plot_coef: add argument order_zoi_radius and transform variables into…
bniebuhr Mar 26, 2024
368d9f0
Merge branch 'lasso' of https://github.com/NINAnor/oneimpact into lasso
bniebuhr Mar 26, 2024
c10e899
Merge branch 'lasso' of https://github.com/NINAnor/oneimpact into lasso
bniebuhr Mar 26, 2024
067c73c
Merge branch 'lasso' of https://github.com/NINAnor/oneimpact into lasso
bniebuhr Mar 26, 2024
ebb21de
fitting_ZOI_logit: added first version of vignette (still to be check…
bniebuhr Mar 26, 2024
73c2347
renamed functions for concordance: conditionalSomersD, conditionalAUC
bniebuhr Apr 11, 2024
646ec3f
add_zoi_formula: improve documentation and bugs
bniebuhr Apr 11, 2024
7050e83
add_zoi_layer: improve documentation
bniebuhr Apr 11, 2024
8a5c499
explore_blocks/pre: improved documentation and added examples
bniebuhr Apr 11, 2024
7718e3a
calc_zoi_cumulative: improved code to allow for multiple layers - fol…
bniebuhr Apr 11, 2024
b34b9b3
fit_net_logit: improved selecation of variables in formula, updated o…
bniebuhr Apr 11, 2024
1bdff22
fit_net_clogit: improved filter na strata, selection of data for vali…
bniebuhr Apr 11, 2024
aea6fe3
create_resamples: added max size blockH1 and 2, needs to be changed a…
bniebuhr Apr 11, 2024
0d23d76
bag_models: implemented min functions, corrected weights computation,…
bniebuhr Apr 11, 2024
434ec40
bag_predicxt_response: corrected drop=False and added option for fact…
bniebuhr Apr 11, 2024
9146e48
bag_predict: changed mm_formula name
bniebuhr Apr 11, 2024
6e932cc
extract_response_strata: changed covars argument name (from other_vars)
bniebuhr Apr 11, 2024
a74d178
plot_coef: corrected matrix multiplication, added possibililty to res…
bniebuhr Apr 11, 2024
cf7d600
spat_strat: improved documentation
bniebuhr Apr 11, 2024
b754718
rescale_coefficients: corrections for bag object - now working
bniebuhr Apr 11, 2024
835c2e1
variable_importance: new implementation for concordance functions, no…
bniebuhr Apr 11, 2024
0d4257c
bag_predict_spat: added first function draft, now running
bniebuhr Apr 11, 2024
b4b646a
bag_load_net_clogit: added function
bniebuhr Apr 12, 2024
8f58a70
net_logit and rescale_coefficients: improved documentation
bniebuhr Apr 12, 2024
9d8479b
create_resamples: added argument max_number_blocksH0_train
bniebuhr Apr 12, 2024
cdcb8cb
changed terra and sf to suggests
bniebuhr Apr 13, 2024
c00c786
bag_load_models: added function to replace bag_load_net_clogit, now t…
bniebuhr Apr 14, 2024
8812c0f
fit_net_logit: synced output file name when out_dir_file is provided,…
bniebuhr Apr 14, 2024
8815f33
variable_importance: added na.action = na.pass to avoid decreasing th…
bniebuhr Apr 14, 2024
1caff04
fit_net_(c)logit: corrected text for removal of missing observations
bniebuhr Apr 14, 2024
8067a70
variable_importance: added ss parameter for sample set definition; wh…
bniebuhr Apr 14, 2024
0e99616
DESCRIPTION: updated terra, sf, and DescTools
bniebuhr Apr 16, 2024
d32b4a1
fit_net_clogit: correction of strata for ridge regression in adaptive…
bniebuhr Apr 19, 2024
d9055ee
variable_importance and plot_importance: implemented computation and …
bniebuhr Apr 19, 2024
cd55c55
fit_net_clogit: change indexing for val2 (to be doubled checked later)
bniebuhr Apr 30, 2024
24fcad5
plot_importance: added summ_strat in the documentation
bniebuhr Apr 30, 2024
6a4c5c7
DESCRIPTION: added maxnet as suggests
bniebuhr May 6, 2024
5aed741
bag_predict_spat: corrected computation of individual predictions and…
bniebuhr May 6, 2024
aba0aea
plot_response: updated documentation
bniebuhr May 6, 2024
ac36200
DESCRIPTION: added Neri as contributor, tidyr to imports, foreach to …
bniebuhr May 8, 2024
f6c9430
bag_predict: enhanced documentation, changed argument wQ_probs to wq_…
bniebuhr May 8, 2024
9e83248
plot_response: added individual line plot arguments and arguments for…
bniebuhr May 8, 2024
6dbc731
bag_predict_spat: changed weighted summaries to DescTools instead of …
bniebuhr May 8, 2024
479a978
add_zoi_formula: added #
bniebuhr May 8, 2024
32f819f
Update add_zoi_formula.R
bniebuhr May 8, 2024
ae59e6e
Merge pull request #28 from NINAnor/bniebuhr-patch-1
bniebuhr May 8, 2024
518ac80
Update fit_net_clogit.R
Neriht May 8, 2024
07c6577
Merge pull request #1 from Neriht/Neriht-patch-1
Neriht May 8, 2024
259503f
Merge pull request #29 from Neriht/lasso
bniebuhr Jun 3, 2024
cfbf830
bag_plot_response: updated way to plot response for ZOI variables whe…
bniebuhr Sep 2, 2024
93dc9c3
bag_predict: updated filtering only one variable for prediction, and …
bniebuhr Sep 2, 2024
51a36ac
bag_predict_spat: first version of the function
bniebuhr Sep 2, 2024
42d091a
variable_importance: extended to boxplot as well, and barplots for bl…
bniebuhr Sep 2, 2024
d765496
plot_response: changes to default linewidth and alpha for individual …
bniebuhr Sep 9, 2024
7c95bc5
fit_net_clogit/logit: added gamma parameter and abs() in Adaptive Lasso
bniebuhr Sep 9, 2024
c0691f0
bag_models/rescale_coefficients: exported intermediate functions
bniebuhr Sep 20, 2024
17aa5e7
bag_plot_response: changed alpha and linewidth default parms for indi…
bniebuhr Sep 20, 2024
83c1223
variable_importance: correction for omission of logit models
bniebuhr Sep 20, 2024
07f7f02
bag_predict_spat: added support for raster inputs
bniebuhr Sep 20, 2024
8d52d35
fit_net_logit: added support for OneZoI Adaptive Lasso
bniebuhr Sep 20, 2024
e9c47ed
fit_net_clogit and fit_net_logit: added onezoi, grouped lasso, and hy…
bniebuhr Oct 5, 2024
797e100
fit_net_clogit and fit_net_logit: added onezoi, grouped lasso, and hy…
bniebuhr Oct 5, 2024
9a0e69a
Merge branch 'lasso' of https://github.com/NINAnor/oneimpact into lasso
bniebuhr Oct 5, 2024
dc31ea1
fit_net_clogit: corrected implementation of other flavors of adaptive…
bniebuhr Oct 6, 2024
2a97ba3
git_net_clogit: corrected conflicting index i between sample and impl…
bniebuhr Oct 6, 2024
9f1f724
fit_net_logit: corrected conflict of name of index i
bniebuhr Oct 7, 2024
5390f0e
variable_importance - fixed issue with variable names in output table…
bniebuhr Oct 8, 2024
278a1d0
bag_predict_spat: added output_rescale parameter, added both IQR and …
bniebuhr Oct 9, 2024
90a1a8d
plot_response: changed default ylab to "Relative Selection Strength"
bniebuhr Oct 9, 2024
3997bae
calc_zoi_sql: added first version
bniebuhr Nov 29, 2024
0580b6e
calc_zoi_sql: documented and added example
bniebuhr Dec 2, 2024
9a6bdd4
calc_zoi_sql: updated example (not completely functional yet)
bniebuhr Dec 8, 2024
6c0143d
fit_net_clogit: corrected summary when only numeric variables are inc…
bniebuhr Dec 8, 2024
f0e6606
fit_net_clogit: corrected condition for ridge to work correctly
bniebuhr Dec 9, 2024
cf95a7d
plot_importance: added parameter scales
bniebuhr Dec 9, 2024
4aeced5
bag_predict_spat_vars: added 'what' parameter for choosing whether or…
bniebuhr Dec 18, 2024
72efe30
bag_load_models, bag_models, fit_net_clogit: corrected way to account…
bniebuhr Jan 19, 2025
e13ddd9
fit_net_clogit: added parameter value_lasso_decay to allow no penaliz…
bniebuhr Jan 20, 2025
77792ee
add_zoi_formula: completed documentation
bniebuhr Feb 2, 2025
6b5db33
explore_block(pre),spat_strat: completed documentation
bniebuhr Feb 3, 2025
d7c988a
fit_net_(c)logit, bag_fit_net_(c)logit, bag_models: added more inform…
bniebuhr Feb 3, 2025
a620e1d
bag_predict: corrected placement of creation of model matrix for case…
bniebuhr Feb 3, 2025
d22b581
fit_net_(c)logit: added check for metric if this is a character
bniebuhr Feb 3, 2025
4589fdd
bag_models: correcting mistake with variables saved
bniebuhr Feb 3, 2025
09bf51d
create_resamples: updated arguments and documentation
bniebuhr Feb 3, 2025
2feeaaa
concordance: added coxnet.deviance and Cindex functions
bniebuhr Feb 10, 2025
502850c
filter_strata: improved documentation
bniebuhr Feb 10, 2025
7ff99cf
(bag)fit_net_cogit: several changes: changed external standadization …
bniebuhr Feb 10, 2025
09e6baf
bag_models: adapted function to new output format for fit_net_clogit
bniebuhr Feb 10, 2025
09dfe3a
fit_net_clogit: set Cindex as a validation metric when the metric use…
bniebuhr Feb 10, 2025
af2570d
fit_net_clogit: added getFromNamespace to get teh metric, and changed…
bniebuhr Feb 19, 2025
9c9f4f1
bag_models: added possibility to retrieve coefficients and validation…
bniebuhr Feb 24, 2025
16a30d2
bag_predict_spat: added prediction type to documentation
bniebuhr Feb 24, 2025
5693f62
fit_net_clogit: corrected function definition for validation when the…
bniebuhr Feb 24, 2025
0f58c85
bag_models: corrected typo for coef_std
bniebuhr Feb 25, 2025
5f13609
data-raw/04_prepare_data_reindeer: added updates
bniebuhr Feb 25, 2025
56aa194
CI pkgdown.yaml: forced quarto installation
bniebuhr Feb 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 53 additions & 54 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,53 @@
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Install R dependencies not on CRAN
run: |
install.packages('remotes')
remotes::install_github("cran/RandomFieldsUtils")
remotes::install_github("cran/RandomFields")
remotes::install_github("ropensci/NLMR")
remotes::install_github("MoBiodiv/mobsim")
shell: Rscript {0}

- name: Install GRASS GIS and other dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq grass grass-dev grass-doc wget

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]

name: pkgdown

jobs:
pkgdown:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
install-quarto: true
extra-packages: any::pkgdown, local::.
needs: website

- name: Install R dependencies not on CRAN
run: |
install.packages('remotes')
remotes::install_github("cran/RandomFieldsUtils")
remotes::install_github("cran/RandomFields")
remotes::install_github("ropensci/NLMR")
remotes::install_github("MoBiodiv/mobsim")
shell: Rscript {0}

- name: Install GRASS GIS and other dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq grass grass-dev grass-doc wget

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
29 changes: 17 additions & 12 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Authors@R: c(
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0453-315X")),
person("Manuela", "Panzacchi", email = "[email protected]",
role = "aut"),
person("Neri", "Thorsen", email = "[email protected]",
role = "ctb"),
person("Bram", "van Moorter", email = "[email protected]",
role = "aut", comment = c(ORCID = "0000-0002-3196-1993")))
Description: The package presents a set of tools to assess cumulative impacts
Expand All @@ -21,28 +23,31 @@ Depends:
Imports:
dplyr,
tibble,
purrr,
purrr,
tidyr,
rgrass,
terra,
sf,
glmnet,
survival,
ggplot2,
scales
Suggests:
raster,
landscapetools,
smoothie,
scales,
DescTools,
pROC,
terra,
sf
Suggests:
foreach,
amt,
maxnet,
knitr,
rmarkdown,
mobsim,
NLMR
rmarkdown
Remotes:
MoBiodiv/mobsim,
ropensci/NLMR
License: GPL-3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
RoxygenNote: 7.3.2
URL: https://github.com/NINAnor/oneimpact,
https://ninanor.github.io/oneimpact/
BugReports: https://github.com/NINAnor/oneimpact/issues
Expand Down
54 changes: 54 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,84 @@

S3method(bartlett_decay,SpatRaster)
S3method(bartlett_decay,numeric)
S3method(plot_response,bag)
S3method(rescale_coefficients,bag)
S3method(rescale_coefficients,coxph)
S3method(rescale_coefficients,glm)
S3method(rescale_coefficients,lm)
S3method(threshold_decay,SpatRaster)
S3method(threshold_decay,numeric)
export(AUC)
export(Cindex)
export(add_zoi_formula)
export(add_zoi_layers)
export(bag_fit_net_clogit)
export(bag_fit_net_logit)
export(bag_load_models)
export(bag_models)
export(bag_predict)
export(bag_predict_spat)
export(bag_predict_spat_vars)
export(bartlett_decay)
export(calc_zoi)
export(calc_zoi_cumulative)
export(calc_zoi_nearest)
export(calc_zoi_sql)
export(conditionalAUC)
export(conditionalBoyce)
export(conditionalSomersD)
export(conditional_maxnet)
export(coxnet.deviance)
export(create_resamples)
export(data_summary)
export(data_summary_char)
export(dist_decay)
export(exp_decay)
export(explore_blocks)
export(explore_blocks_pre)
export(extract_response_strata)
export(filter_create)
export(filter_na_strata)
export(filter_save)
export(fit_net_clogit)
export(fit_net_issf)
export(fit_net_logit)
export(fit_net_rsf)
export(fit_net_ssf)
export(from_std)
export(gaussian_decay)
export(grass_binarize)
export(grass_find_layer)
export(grass_v2rast_count)
export(half_norm_decay)
export(hypothesis_func)
export(isolation)
export(kernel_prediction)
export(linear_decay)
export(mean_isolation)
export(net_clogit)
export(net_issf)
export(net_logit)
export(net_rsf)
export(net_ssf)
export(plot_coef)
export(plot_importance)
export(plot_response)
export(plot_zoi1d)
export(raster_rescale)
export(rescale_coefficients)
export(score2weight_invmean)
export(score2weight_mean)
export(score2weight_min_invmean)
export(score2weight_min_mean)
export(set_points)
export(set_points_from_raster)
export(set_points_sample)
export(spat_strat)
export(step_decay)
export(tent_decay)
export(threshold_decay)
export(to_std)
export(variable_importance)
export(w_strech_max_squared)
export(w_strech_maxmin_squared)
Loading
Loading