
Generate random points within space use estimates from calculate_space_use
Source:R/1.7.10_function_space_use_point_generation.R
generate_random_points_in_space_use.Rd
Generate random points within space use estimates from calculate_space_use
Usage
generate_random_points_in_space_use(
space_use_results,
track_data,
method = "constrained_convex_hull",
n_points = 100,
fish_ids = NULL,
time_periods = NULL,
reference_raster = NULL,
time_bin_size = 3600,
point_generation_method = "random"
)
Arguments
- space_use_results
Output list from calculate_space_use function
- track_data
Original track data used for calculate_space_use (needed for polygon creation)
- method
Space use method to use for point generation ("constrained_convex_hull", "convex_hull", "bounding_box", "95_ellipse", "grid_cell_count")
- n_points
Number of random points to generate per group (default: 100)
- fish_ids
Which fish IDs to include (default: all available)
- time_periods
Which time periods to include (default: all available)
- reference_raster
Optional reference raster for grid-based methods
- time_bin_size
Time bin size for standardizing track data (default: 3600)
- point_generation_method
How to generate points within polygons ("random", "grid", "stratified")