Closed kiyokota closed 3 years ago
Does this fix it? https://github.com/GLEON/LakeMetabolizer/issues/140
Yes, it worked as wtr.heat.map(as.data.frame(winter2017.temp, zlim = c(0,30), plot.title="5MP")) Thank you very much. plot.title still does not add a title, though - any tip on this?
Try instead
wtr.heat.map(as.data.frame(winter2017.temp), zlim = c(0,30), plot.title="5MP")
Still no title, unfortunately, but I realized that the parenthesis needs to be closed after winter2017.temp in order for the zlim argument to work.
Is plot.title dependent on another package? It is not working online at https://rdrr.io/cran/rLakeAnalyzer/man/wtr.heat.map.html, either: the second example with zlim = c(0.15) should have a title, but it does not appear.
The plot.title argument is passed directly to graphics functions, however, I think this should work:
wtr.heat.map(as.data.frame(winter2017.temp), zlim = c(0,30), plot.title = title(main = "5MP"))
Yes, it worked! Thank you very much.
Hello. I was trying to make a step-by-step instruction for an undergrad student to re-generate water temp heat map with existing codes and data sets. They worked for me before (last used on 26 Mar 2019), but now I encounter the following error. I tried multiple old data files that I generated heat maps with rLakeAnalyzer before, whole ice-free season to just a few days, on two PCs with the latest versions of rLakeAnalyzer, R, and RStudio, with the same error.
The only way I could resolve this so far has been to export the data table as a tab-separated text file in ~/R/win-library/4.0/rLakeAnalyzer/mydata, similar to the way the sample data file Sparkling.daily.wtr is stored in ~/R/win-library/4.0/rLakeAnalyzer/extdata.
wtr. heat.map used to work directly with imported .csv files as long as 1) they were imported via readr in RStudio, and 2) the datetime column attribute was changed to datetime from the dropdown menu, Is there any way to work directly with .csv files as before?
Also plot.title argument within wtr.heat.map does not seem to be working even in the example: wtr.heat.map(sp.wtr, zlim=c(0,15), plot.title="Sparkling Water Temp (C)") Is there another package that I should load along with rLakeAnalyzer?