Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot.loadReg doesn't produce full set of diagnostic plots #36

Open
jsta opened this issue Jan 18, 2021 · 1 comment
Open

plot.loadReg doesn't produce full set of diagnostic plots #36

jsta opened this issue Jan 18, 2021 · 1 comment

Comments

@jsta
Copy link
Contributor

jsta commented Jan 18, 2021

If I run the example from the docs:

data(app1.calib)
app1.lr <- loadReg(Phosphorus ~ model(1), data = app1.calib, 
                       flow = "FLOW", dates = "DATES", conc.units="mg/L",
                       station="Illinois River at Marseilles, Ill.")
# Produce the full suite of diagnostic plots
plot(app1.lr)

I get an Observed vs. fitted plot but none of the remaining plots. Instead I get an error:

Warning message:
In device(width = width, height = height, pointsize = fontSize, :
Quartz device is not available on this platform

platform details
 setting  value                       
 version  R version 4.0.3 (2020-10-10)
 os       Ubuntu 20.04.1 LTS          
 system   x86_64, linux-gnu           
 ui       RStudio                     
 language (EN)                        
 collate  en_US.UTF-8                 
 ctype    en_US.UTF-8                 
 tz       America/New_York            
 date     2021-01-18 
@jsta
Copy link
Contributor Author

jsta commented Jan 28, 2021

I can get the other plots if I manually specify the which argument (e.g. plot(app1.lr, which = 2)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant