R: Simulation of Cropland Data Layer Products from the USDA

# Simulation of Cropland Data Layer Products from the USDA

## Documentation for package ‘cdlsim’ version 0.1.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

collapse_and_combined | Function to resize patches in a SpatRaster using the terra and landscapemetrics packages
download_cdl_mat_files | Function to Read in and upzip confusion matrix files from the web
find_patches | Function to resize patches in a SpatRaster using the terra and landscapemetrics packages
generate_transition_vectors | Function to generate transition vectors for negative cell values
get_mat_data | Function to retrieve confusion matrix data for multiple states of interest
get_mat_data_dep | Function to retrieve confusion matrix data for multiple states of interest
get_trans_mat | Function to format the confusion matrices as transition matrices
get_trans_mat_dep | Function to format the confusion matrices as transition matrices
modify_matrix | Function to modify transition matrix based on user input.
simulate_raster_patch | Function to simulate tagged patch values in a single layer spatraster.