This function creates an animated gif with every landscape year configuration
animate(lands, stepsBy = 1, steps = NULL, fps = 5, gifName = NULL, rangeLimitOccup = 0.75, width = NULL, height = NULL)
lands | the object output of the |
---|---|
stepsBy | integer number, increment value from 1 to length of steps |
steps | vector, specific steps to be animated |
fps | frames per second |
gifName | string with name of the file output |
rangeLimitOccup | numeric between 0 and 1 to define the minimum row occupancy of a state in the landscape. It will add a line in the plot for the boreal trailing edge and the temperate leading edge. See |
width | numeric, width of gif image |
height | numeric, height of gif image |
an animated gif file
if (FALSE) { animate(lands, stepsBy = 1, fps = 5, gifName = 'myGif', rangeLimitOccup = 0.75) }