search for: section01_model_result

Displaying 1 result from an estimated 1 matches for "section01_model_result".

2008 Jan 14
2
Need help with xspline error message in R 2.6.1 on Windows XP
...pushViewport(plotViewport(c(5.1, 4.1, 4.1, 2.1))) pushViewport(dataViewport(dt$year, dt$mean)) grid.rect() grid.xaxis() grid.yaxis() grid.points(dt$year, dt$mean, pch=16) grid.xspline(dt$year, dt$mean, shape=shp, open=TRUE, gp=gpar(col="red")) popViewport(2) } plot.results("section01_model_results.dat") And here is the data that is being used: year mean 1 2010 6738 2 2015 8793 3 2020 11699 4 2025 15951 5 2030 22492 6 2035 33289 7 2040 52917 I have tried changing the values in the shape vector and have noticed that a value of 0 does not generate the error; however, it also does...