[R] the volcano orientation
Abby Spurdle
@purd|e@@ @end|ng |rom gm@||@com
Sun May 10 23:21:10 CEST 2020
Sorry, one more thing.
My response didn't really answer your question.
But I would say that the formats of most datasets used in statistics
are reflective of the preferences of the people that collected or
published them, at the time...
Also, I've found the older publications quite often have considerable merit...
On Sun, May 10, 2020 at 12:44 PM Michael Sumner <mdsumner using gmail.com> wrote:
>
> Does anyone know why 'volcano' is oriented as it is?
>
> image(volcano) ## filled.contour is the same
>
> I know it's all arbitrary, but north-up is a pretty solid convention. Is
> there any reason why the classic 'image()' example data set would not
> default to this orientation?
>
> A Google map of the site (in Web Mercator):
>
> https://www.google.com/maps/place/Maungawhau+%2F+Mount+Eden/@-36.8763271,174.7619561,856m/data=!3m1!1e3!4m8!1m2!2m1!1smaungawhau!3m4!1s0x6d0d47db8d7bd1ff:0x8bcffe2a5c7360d2!8m2!3d-36.8666667!4d174.7666667
>
>
> For image(), the north-up orientation is 't(volcano[,ncol(volcano):1])'.
>
> If you are interested in a roughly georeferenced version I have code here:
>
> https://gist.github.com/mdsumner/20fe3ffa04421bf8e0517c19085e5fd8
>
> (Also see fortunes::fortune("conventions") )
>
> Best, Mike
>
>
> --
> Michael Sumner
> Software and Database Engineer
> Australian Antarctic Division
> Hobart, Australia
> e-mail: mdsumner using gmail.com
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list