-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
thinning by 600 and iteration list final
- Loading branch information
Showing
6 changed files
with
1,353 additions
and
104 deletions.
There are no files selected for viewing
1,351 changes: 1,298 additions & 53 deletions
1,351
source/targets/mas_steekproef_zn_lm/_targets/meta/meta
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 20 additions & 20 deletions
40
source/targets/mas_steekproef_zn_lm/_targets_r/targets/nabehandeling.R
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
list( | ||
tarchetypes::tar_map( | ||
list(thin_dists = c(300, 600)), | ||
tar_target( | ||
steekproef_thinned, | ||
thin_sample( | ||
sample = steekproef, | ||
thin_dist = thin_dists | ||
), | ||
pattern = map(steekproef) | ||
), | ||
tar_target( | ||
steekproef_final, | ||
replace_by_existing( | ||
sample = steekproef_thinned, | ||
existing_points = existing_data, | ||
overlap_prop = 0.5, | ||
sbp_file = sbp_akkervogels | ||
), | ||
pattern = map(steekproef_thinned) | ||
) | ||
tar_target( | ||
steekproef_thinned, | ||
thin_sample( | ||
sample = steekproef, | ||
thin_dist = 600 | ||
), | ||
pattern = map(steekproef), | ||
iteration = "list" | ||
), | ||
tar_target( | ||
steekproef_final, | ||
replace_by_existing( | ||
sample = steekproef_thinned, | ||
existing_points = existing_data, | ||
overlap_prop = 0.5, | ||
sbp_file = do.call(rbind.data.frame, sbp_akkervogels) | ||
), | ||
pattern = map(steekproef_thinned), | ||
iteration = "list" | ||
) | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters