print.dtrace {dtrace}R Documentation

Printing Density Trace Objects

Description

This prints kernel density traces.

Usage

## S3 method for class 'dtrace':
print(x,
    digits = max(4, getOption("digits") - 4),
    ...)

Arguments

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.

Details

This function is used to print the objects created by dtrace.

Value

The function returns an invisible copy of its first argument.

Author(s)

Ross Ihaka.

See Also

dtrace, summary.dtrace, print.summary.dtrace.

Examples

## Simple density estimation.
data(faithful)
d <- print(dtrace(faithful$eruptions, sd = "sj"))

[Package dtrace version 0.1 Index]