[R] density plot with frequency units

r student studentofr at gmail.com
Tue Aug 16 16:57:53 CEST 2011


Let me ask another way.

Is there a way to create a histogram with a fitted line, but without bars?

Or, perhaps draw the bars with invisible lines?

Thanks.


On Tue, Aug 16, 2011 at 7:29 AM, Jeff Newmiller
<jdnewmil at dcn.davis.ca.us> wrote:
> This is a nonsensical request. It is like saying you want to plot the speed
> of a falling object but you want the units of speed to be meters.
> ---------------------------------------------------------------------------
> Jeff Newmiller The ..... ..... Go Live...
> DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
> Live: OO#.. Dead: OO#.. Playing
> Research Engineer (Solar/Batteries O.O#. #.O#. with
> /Software/Embedded Controllers) .OO#. .OO#. rocks...1k
> ---------------------------------------------------------------------------
> Sent from my phone. Please excuse my brevity.
>
> r student <studentofr at gmail.com> wrote:
>>
>> I would like to create a kernal density plot, but rather than show
>> density units on the vertical axis I would like frequencies.
>>
>> I know histograms do this but I don't want the bars, just the density
>> curve.
>>
>>
>> Thanks!
>>
>> ________________________________
>> R-help at r-project.org mailing list
>> 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