djhocking / Trout_GRF

Application of Gaussian Random Fields in a Dendritic Network
3 stars 0 forks source link

runOUGMRF Crashes R #7

Closed djhocking closed 8 years ago

djhocking commented 8 years ago

when I try to run the runOUGMRF function is crashes R in the spatiotemporal simulations but works with the spatial simulations and with the real data.

djhocking commented 8 years ago

One difference between the real data (which is spatially and temporally replicated) and the spatiotemporal simulation inputs list is that the covariates in the real data have the same number of rows as the count data whereas in the simulation data they have the same number of rows as the number of sites. This could cause the problem. If so I should add a check in the function so it doesn't crash the whole system. I'll check tonight.

djhocking commented 8 years ago

added check to input function