print.lhss: Print a 'lhss' object

View source: R/print.R

print.lhssR Documentation

Print a lhss object

Description

Print a lhss object

Usage

## S3 method for class 'lhss'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

Object of class lhss.

digits

Number of digits to use when printing the output.

...

further arguments on how to format the number of digits.

Value

invisble The inputted lhss object.

See Also

print, lhss

Examples

set.seed(123)
# Fit model (minimal example to limit computation time)
dr <- lhss(numerator_small, denominator_small,
           nsigma = 5, nlambda = 3, ncenters = 50, maxit = 100)
# Inspect model object
dr
# Obtain summary of model object
summary(dr)
# Plot model object
plot(dr)
# Plot density ratio for each variable individually
plot_univariate(dr)
# Plot density ratio for each pair of variables
plot_bivariate(dr)
# Predict density ratio and inspect first 6 predictions
head(predict(dr))

densityratio documentation built on June 8, 2025, 11:17 a.m.