statnet / ndtv

ndtv: Network Dynamic Temporal Visualizations in R
https://cran.r-project.org/web/packages/ndtv/index.html
49 stars 5 forks source link

transmission timeline needs to handle case when no transmission occurs #20

Closed skyebend closed 8 years ago

skyebend commented 8 years ago
> transmissionTimeline(tPath(toy_epi_sim,v=50,graph.step.time = 1),jitter=TRUE,label.cex = 0.6,
+                      main='transmission timeline of fwd temporal path from v50')
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In stats::runif(length(x), -amount, amount) : NAs produced
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf
4: In min(x) : no non-missing arguments to min; returning Inf
5: In max(x) : no non-missing arguments to max; returning -Inf