print.summary.kliep | R Documentation |
summary.kliep
objectPrint a summary.kliep
object
## S3 method for class 'summary.kliep'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
x |
Object of class |
digits |
Number of digits to use when printing the output. |
... |
further arguments on how to format the number of digits. |
invisble
The inputted summary.kliep
object.
print
, summary.kliep
, kliep
set.seed(123)
# Fit model
dr <- kliep(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
kliep(numerator_small, denominator_small,
nsigma = 1, ncenters = 100, nfold = 10,
epsilon = 10^{2:-5}, maxit = 500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.