Learn R Programming

probhat (version 0.4.1)

42_kernel_plot_methods: Kernel Plot Methods

Description

Plot methods for kernel objects.

Usage

####################################
#discrete kernels
#(call plot_dpd)
####################################
# S3 method for DKernel
ph.plotf(dk, …, cdf=FALSE)

#################################### #continuous kernels #(call plot_cpd) #################################### # S3 method for CKernel ph.plotf(ck, …, cdf=FALSE)

Arguments

dk, ck

A kernel object. Refer to the references and see also sections.

cdf

Logical, if true, plot the CDF.

Other arguments, for plot_dpd or plot_cpd.

References

Refer to the vignette for an overview, references and better examples.

See Also

Kernels

plot_kernel_array

plot_dpd, plot_cpd

Examples

Run this code
# NOT RUN {
dk <- discretized.kernel (7)
plot (dk)

plot (BIWEIGHT.CKERNEL)
# }

Run the code above in your browser using DataLab