goldingn / pop

A Flexible Syntax for Population Dynamic Modelling :koala: :chart_with_upwards_trend:
Other
10 stars 2 forks source link

as.landscape for list should replicate to make number of rows match #27

Closed goldingn closed 8 years ago

goldingn commented 8 years ago

alternatively, define the whole thing as a dataframe and record which column is which as attributes

goldingn commented 8 years ago

more details:

currently if you use pop:::as.landscape() to coerce a list, it allows them all to have different numbers of rows

As mentioned above, the simplest solution is probably to make the whole thing a dataframe, with attributes pointing to the area and population columns, and features being any column not mentioned in those attributes

goldingn commented 8 years ago

closed by #29