print.dtrace {dtrace} | R Documentation |
This prints kernel density traces.
print(x, digits = max(4, getOption("digits") - 4), ...)
x |
A specification or the data to be used to produce the density traces. This can be a numeric vector, a list of numeric vectors or a modelling formula which specifies grouping for a numeric vector. |
digits |
The number of significant digits to appear in the
printed summary of dt . |
... |
Additional arguments which are passed to the underlying
print function. |
This function is used to print the objects created by
dtrace
.
The function returns an invisible copy of its first argument.
Ross Ihaka.
dtrace
,
summary.dtrace
,
print.summary.dtrace
.
## Simple density estimation. data(faithful) d <- print(dtrace(faithful$eruptions, sd = "sj"))