plot_univariate_normal_density_distribution: Plot the true density distributions, in the univariate...

View source: R/visualisation.R

plot_univariate_normal_density_distributionR Documentation

Plot the true density distributions, in the univariate context

Description

Plot the true density distributions, in the univariate context

Usage

plot_univariate_normal_density_distribution(
  true_theta,
  nobservations = 1000,
  k = length(true_theta$p)
)

plot_bivariate_normal_density_distribution(
  true_theta,
  nobservations = 1000,
  k = length(true_theta$p)
)

plot_HD_density_distribution(
  true_theta,
  nobservations = 10^3,
  k = length(true_theta$p),
  ade_plot = FALSE
)

Arguments

true_theta

the true values of the parameters (with p, mu and sigma)

nobservations

the number of bins used to regenerate the global mixture distribution

k

the number of components, by default, the number of ratio elements stored in item p of true_theta

Value

density_plots a ggplot object representing the distributions of empirical univariate density functions

Author(s)

Bastien CHASSAGNOL


bastienchassagnol/RGMMBench documentation built on Oct. 26, 2023, 5:58 p.m.