% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RSSRMR.R
\name{dweight}
\alias{dweight}
\title{Robust Distance Weights}
\usage{
dweight(x, q = 0.9)
}
\arguments{
\item{x}{Numeric data matrix.}

\item{q}{Quantile threshold.}
}
\value{
Numeric vector of weights.
}
\description{
Computes robust observation weights.
}
\examples{
set.seed(123)

x <- matrix(rnorm(50), nrow = 10)

dweight(x)

}
