fdschneider / caspr

Cellular Automata for Spatial Pressure in R
MIT License
4 stars 0 forks source link

Add an `as.binary_matrix` method for `ca_run` objects #32

Closed alexgenin closed 9 years ago

alexgenin commented 9 years ago

Do not forget to add an as.binary_matrix method for ca_run objects.

fdschneider commented 9 years ago

First of all, we need that for landscape objects. I have done that already. I just need to rename it and test. For ca_run objects, the function should return a list of binary_matrix objects with all the landscape objects stored in $landscapes, right?

fdschneider commented 9 years ago

done. Commit: e5fc5beb8e8da022875db0e38e35780e79ef9f2a