File: wmedian.Rd

package info (click to toggle)
r-cran-mixturefitting 0.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: ansic: 518; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 550 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\name{wmedian}
\alias{wmedian}
\docType{methods}
\title{Calculate Weighted Median.}
\description{
    Calculated weighted median.
}
\usage{
    wmedian( x, w, start = 1, end = length( x ) )
}
\arguments{
    \item{x}{sample vector}
    \item{w}{weights vector}
    \item{start}{start index (default: 1)}
    \item{end}{end index (default: last index in \emph{x})}
}
\value{Median}
\references{
    Users of Wikipedia.
    Weighted median.
    \url{https://en.wikipedia.org/w/index.php?title=Weighted_median&oldid=690896947}
}
\author{Andrius Merkys}