print.summary.ulsif {densityratio} | R Documentation |
Print a summary.ulsif
object
Description
Print a summary.ulsif
object
Usage
## S3 method for class 'summary.ulsif'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
Arguments
x |
Object of class |
digits |
Number of digits to use when printing the output. |
... |
further arguments on how to format the number of digits. |
Value
invisble
The inputted summary.ulsif
object.
See Also
Examples
set.seed(123)
# Fit model
dr <- ulsif(numerator_small, denominator_small)
# 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))
# Fit model with custom parameters
ulsif(numerator_small, denominator_small, sigma = 2, lambda = 2)
[Package densityratio version 0.2.2 Index]