draw_case: Create plot for any case study

View source: R/draw_case.R

draw_caseR Documentation

Create plot for any case study

Description

This function illustrates any of the case studies.

Usage

draw_case(
  which,
  Continuous = TRUE,
  WithEstimation = FALSE,
  Dim = 2,
  palt,
  nsample = 1000,
  Dms = c(1, 2),
  AltOnly = FALSE
)

Arguments

which

name or number of the case study.

Continuous

= TRUE for continuous data

WithEstimation

=FALSE, with parameter estimation

Dim

=2 dimension of data

palt

parameter for alternative. If missing value in study is used.

nsample

=250, sample size.

Dms

=c(1,2, which dimensions are to be shown (for 5D data).

AltOnly

= FALSE show only graph for alternative?

Value

a ggplot2 object


MDgof documentation built on Feb. 13, 2026, 1:06 a.m.