Open nbadino opened 1 year ago
I am trying to draw the phase diagram of the Solow economic growth model. Using y^a with a that is a non-natural number, I get:
Error in if (any(dx[i, j] != 0, dy[i, j] != 0)) { : missing value where TRUE/FALSE needed
The code I use is:
solow <- function(t, y, parameters) { list(y^0.5) } example2_flowField <- flowField(solow, xlim = c(0, 4), ylim = c(0, 4), system = "one.dim", add = FALSE, xlab = "t")
Can somebody help me?
Sorry, I can't seem to reproduce this error. Can I check what version of phaseR you're running?
I am trying to draw the phase diagram of the Solow economic growth model. Using y^a with a that is a non-natural number, I get:
The code I use is:
Can somebody help me?