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

Add the scagnostics package to R-Instat #4249

Open rdstern opened 6 years ago

rdstern commented 6 years ago

I hope you will find this issue to be fun! In our recent workshop we produced a lot of scatterplots (e.g. station data on sunshine v satellite estimates - by station and by month) Scagnostircs stands for Scatterplot Diagnostics.

Then I find:

  1. The scagnostics package has been written by Leyland Wilkinson (who wrote the grammar of graphics book).
  2. A presentation on scagnostics by Hadley Wickham in 2007 http://stat-computing.org/events/2007-jsm/wickham-1.pdf
  3. The example in the Hadley Wickham presentation is about exploring climatic data!
  4. The issue I am about to write on including parallel coordinate plots in R-Instat needs this package!
  5. Parallel coordinate plots have a whole chapter in the Graphical Data Analysis with R book, with suggestions on how they can be used for time series (i.e. including our climatic data)

It is quite a small package in the sense that the instruction manual only has 4 pages - https://cran.r-project.org/web/packages/scagnostics/scagnostics.pdf

Want to see a bit more - then here is a paper on them http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.639.5467&rep=rep1&type=pdf

And here are some examples from this paper: image

Patowhiz commented 6 years ago

Please note, the above links only work when copied and pasted on the url input box directly rather than clicking on them. Github throws a http 404 error when you try opening them directly. Probably because @rdstern used this command github url command.

@dannyparsons you can add this package in the next R-Instant installer. Just installed it on my side. However, It has dependency - package rJava, and it was built under R version 3.4.2

https://CRAN.R-project.org/package=scagnostics

maxwellfundi commented 6 years ago

@Patowhiz you looked at this? How is it going?

dannyparsons commented 6 years ago

Fixed the links above. We can add the packages to the next version if we need them, but unless there are interesting datasets we don't want to add packages that aren't used anywhere in the code yet.

maxwellfundi commented 6 years ago

@Patowhiz Do you think would be needed for the nest release or it could be moved ahead?

Patowhiz commented 6 years ago

Well, from the explanation that you gave me, that will depend on @dannyparsons . From my understanding he seems to be of the opinion that the package should only be added if its going to used in code.

dannyparsons commented 6 years ago

Yes, let's add the packages when we need them.