fit_model: This function fits a Random Forest model to the data in the...

View source: R/prioritize.R

fit_modelR Documentation

This function fits a Random Forest model to the data in the package.

Description

This function fits a Random Forest model to the data in the package.

Usage

fit_model(out_dir, seed = 42)

Arguments

out_dir

A path to directory for storing results.

seed

An integer. A seed number to pass to set.seed.

Value

     A tibble

Examples

## Not run: 
library(sf)
library(prioritizedeforestationhotspots)
out_dir <- "~/Documents/prioritize_res"
fit_model(out_dir)

## End(Not run)


albhasan/prioritizedeforestationhotspots documentation built on Nov. 11, 2023, 3:12 p.m.