% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.ngme.R
\name{get_parameter_distance}
\alias{get_parameter_distance}
\title{Calculate parameter distance from true values}
\usage{
get_parameter_distance(
  trajectories,
  true_values,
  norm_type = "euclidean",
  chain_summary = "mean"
)
}
\arguments{
\item{trajectories}{ngme_trajectories object from get_trace_trajectories()}

\item{true_values}{named list or vector of true parameter values}

\item{norm_type}{character, type of norm to use: "euclidean" (default), "manhattan", "max"}

\item{chain_summary}{character, how to summarize across chains: "mean" (default), "median", "chain1"}
}
\value{
numeric vector of distances across iterations
}
\description{
Compute ||theta - theta_hat|| distance for all parameters across iterations.
This provides a single measure of convergence combining all parameters.
}
