Skip to content
Prev 302823 / 398503 Next

Density

The numbers are there, they just aren't listed by the default print method
for density.  When you type the object name, den0, R runs
print.density(den0) which provides summary statistics. You need to look at
the manual page (?density) and pay close attention to the section labeled
"Value" which provides information about what values are returned by the
function.

str(den0)
den0$x
den0$y
plot(den0$x, den0$y, typ="l")

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352