This wrapper function checks the forestry object, makes it saveable if needed, and then saves it.

saveForestry(object, filename, ...)

Arguments

object

an object of class `forestry`

filename

a filename in which to store the `forestry` object

...

additional arguments useful for specifying compression type and level

Value

Saves the forest into filename.