Learn R Programming

rsat (version 0.1.21)

new_rtoi: Creates a new rtoi object

Description

Creates a new rtoi object

Usage

new_rtoi(name, region, rtoi_path, db_path, records, size)

# S4 method for character,sf,character,missing,missing,missing new_rtoi(name, region, rtoi_path)

# S4 method for character,sf,character,character,missing,missing new_rtoi(name, region, rtoi_path, db_path)

# S4 method for character,sf,character,character,records,missing new_rtoi(name, region, rtoi_path, db_path, records)

# S4 method for character,sf,character,character,records,numeric new_rtoi(name, region, rtoi_path, db_path, records, size)

Value

the reference of the rtoi object

Arguments

name

the name of the region of interest.

region

an sf object.

rtoi_path

the path to the rtoi folder.

db_path

the path to the database.

records

a records object.

size

the size of rtoi folder. By default, the size is computed from rtoi_path.