Learn R Programming

gkwreg (version 1.0.7)

.calculate_half_normal_data: Calculate half-normal plot data with envelope

Description

Calculate half-normal plot data with envelope

Usage

.calculate_half_normal_data(
  resid_vec,
  idx,
  nsim,
  level,
  param_mat,
  param_vectors,
  type,
  family
)

Value

A data frame with half-normal plot data

Arguments

resid_vec

Vector of residuals

idx

Vector of observation indices

nsim

Number of simulations for envelope

level

Confidence level for envelope

param_mat

Matrix of calculated parameters

param_vectors

List of parameter vectors

type

Character string specifying residual type

family

Character string specifying distribution family