landscape.read {rmetasim}R Documentation

Load a landscape from a file

Description

Load a Rmetasim landscape from a file into an R object.

Usage

  rland <- landscape.read(fn="mylandscape.lnd")

Arguments

fn the path and name of the file containing the landscape

Examples

  ## Needs write access to the current directory, files created!!
  landscape.write(landscape.new.example(), "exampleland.lnd")
  exampleland <- landscape.read("exampleland.lnd")
  exampleland
  rm(exampleland)

[Package rmetasim version 1.1.008 Index]