Learn R Programming

probhat (version 0.4.1)

11_names_methods: Names Methods

Description

Print variable names, taken from the input data.

Usage

# S3 method for phmodel
ph.namesf(sf, …, all=FALSE)
# S3 method for ph4.gset
ph.namesf(sf, …)

Arguments

sf

An object extending phmodel (or a gset object, for the gset method), which is most of the objects in this package.

all

Logical, if false (the default), only include conditional/random variables.

Ignored.

Value

A character vector of variable names.

References

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

See Also

Succinct Constructors Discrete Kernel Smoothing, Continuous Kernel Smoothing Categorical Distributions, Empirical-Like Distributions

Examples

Run this code
# NOT RUN {
prep.ph.data ()

cfh <- pdfmv.cks (trees2)
names (cfh)
# }

Run the code above in your browser using DataLab