IDEMSInternational / R-Instat

A statistics software package powered by R
http://r-instat.org/
GNU General Public License v3.0
38 stars 102 forks source link

Adding new keys to the extRemes keyboard in Use Model dialogue #5539

Open rdstern opened 5 years ago

rdstern commented 5 years ago

There is an existing keyboard for the extRemes package in Model > Use Model dialogue.

I propose an extra first row with print, summary and plot as the 3 keys. They are each described in the extRemes guide within the fevd entry.

The extRemes print and summary currently work well. The plot seems to work, i.e. it doesn't give an error, but there also isn't a visible plot! I hope @dannyparsons can diagnose this problem.

I don't know whether this might be undertaken by @Wycklife who seems to be an expert on keyboards or by @Ivanluv who is looking as other aspects of this dialogue? Perhaps they could discuss.

Wycklife commented 4 years ago

@rdstern I'm happy to pick it up.

rdstern commented 4 years ago

The three keys at the top of this menu each give extRemes::plot.fevd(fevd object) etc This doesn't work. Instead just give plot(object) and summary(object) and print(object).

It doesn't need the package name in front and it doesn't need plot.fevd, etc. Just plot will do!

The other complication is that plot and print don't produce another object. They just do the plot. If you then save the resulting object and display it, it just says NULL.

What should that mean for the code? I suggest that is a @dannyparsons question.

It would be really good if this keyboard were working. I will use the ideas in the AIMS course.

I have been using the POTRw dataset - from the extRemes package to do the testing. It is one of the examples in the documentation for the fevd command.