# NOT RUN {
# Load nl object (with spatial output data already attached) from test data:
nl <- nl_spatial
# Convert patch metrics to spatial raster objects:
results.raster <- nl_to_raster(nl)
# }
Run the code above in your browser using DataCamp Workspace