% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spatial-prior.R
\name{normalize_prior}
\alias{normalize_prior}
\title{Validate / normalise a prior data.table}
\usage{
normalize_prior(prior)
}
\description{
Internal helper used by all backends. Coerces input to data.table
with canonical columns, drops NA codes, and renormalises so that
probabilities sum to 1.
}
\keyword{internal}
