```{asis, echo = {{part_spat_knit}}, eval = {{part_spat_knit}}, include = {{part_spat_knit}}}

Partition occurrence data

Partition occurrences and background points for model training and validation using "{{method_rmd}}", a spatial partition method with 4 partitions.

```{asis, echo = {{part_spat_aggreg_knit}}, eval = {{ part_spat_aggreg_knit }}, include = {{part_spat_aggreg_knit}}}
### Partition occurrence data
Partition occurrences and background points for model training and validation using "{{method_rmd}}", a spatial partition method with an aggregation factor of {{aggFact_rmd}}.

```r}, include = {{part_spat_knit}}}

R code to get partitioned data

groups_{{spAbr}} <- part_partitionOccs( occs = occs_{{spAbr}} , bg = bgSample_{{spAbr}}, method = "{{method_code_rmd}}")

```r}, include = {{part_spat_aggreg_knit}}}
# R code to get partitioned data
groups_{{spAbr}} <- part_partitionOccs(
  occs = occs_{{spAbr}} ,
  bg =  bgSample_{{spAbr}}, 
  method = "{{method_code_rmd}}",
  bgMask = bgMask_{{spAbr}},
  aggFact = {{aggFact_rmd}}) 


Try the wallace package in your browser

Any scripts or data that you put into this service are public.

wallace documentation built on Sept. 11, 2024, 9:16 p.m.