Open dnulnets opened 4 years ago
Found it! It was a character conversion problem, I got a replacement character instead of åäö, see below.
region_namn <- unlist(strsplit(r_name, split="s l�n"))
region_namn <- unlist(strsplit(region_namn, split=" l�n"))
region_namn <- region_namn[-which(region_namn == "Riket")]
When I change it to "ä" in my local copy everything worked just fine!
Thanks for figuring that out @dnulnets! Running the code from start to end now get stuck at a later time like this during plot generation.
> plot(c(0:150),Basic_repr(c(0:150), delta = Est$par[1], epsilon = Est$par[2], theta = Est$par[3] ,gamma = gammaD),type="l", ylab="R0(t)",lwd=2,
+ .... [TRUNCATED]
Error in plot.new() : figure margins too large
Where do you run the code? In R-studio or on the command line? The plot panel might be too small. I did not have any problem when I ran it directly in the command line. I have not tried with R-studio.
Hi, Thanks for publishing this. I am just trying to get it to run and get the following:
It is probably due to a version problem (?) on my side, but are unable to find out the cause. SessionInfo is this: