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

Fix/rm select_ct #12

Merged
merged 4 commits into from
Jul 25, 2023
Merged

Fix/rm select_ct #12

merged 4 commits into from
Jul 25, 2023

Conversation

robitalec
Copy link
Owner

@robitalec robitalec commented Jul 25, 2023

Removing select_ct until an alternative structure is developed which is more useful than simply sorting and selecting eg. as shown in the vignette:

# Selection criteria
max_road_dist_m <- 3000
max_elev_m <- 300
ls_lc_classes <- c(1, 2, 5, 6)

# Select out of candidate points
select_pts <- pts[
  pts$road_dist < max_road_dist_m &
	elev_pt < max_elev_m &
	lc_pt %in% ls_lc_classes,]

plot(select_pts)


# Sorting criteria
ordered <- order(select_pts$wetland_dist, -select_pts$hydro_dist)

order_select_pts <- select_pts[ordered,]
print(order_select_pts)

@robitalec robitalec self-assigned this Jul 25, 2023
@robitalec robitalec merged commit f27064f into main Jul 25, 2023
@robitalec robitalec deleted the fix/rm-select-ct branch July 25, 2023 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant