Skip to content

Some loglog density plot

1 message · Kjetil Kjernsmo

#
Dear all,

A looong time ago, Witold Eryk Wolski asked here why there wasn't a
log="xy" parameter to the hist() function
<URL:http://www.R-project.org/nocvs/mail/r-help/2001/0267.html>, and
Prof. Ripley responded that a loglog histogram does not make much sense,
and that one should use a better density estimate if one seeks to plot
log density.

I understand the point and I hope you will forgive my ignorance:
What alternatives do I have in R?
(In astronomy, which is full of power laws, loglog histograms are
not infrequently seen, I have resisted making them since this post, but it
is getting hard... :-) ).

Best,

Kjetil