File: gmm_size_probability_nls.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 (22 lines) | stat: -rw-r--r-- 703 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
\name{gmm_size_probability_nls}
\alias{gmm_size_probability_nls}
\docType{methods}
\title{The Gaussian Mixture Distribution}
\description{
    Calculates the posterior probability of a Gaussian mixture with \emph{n} components.
    Internally, it bins the data vector and calls nls() to optimize the mixture fit.
    Returns the list of the same form as received from optim().
}
\usage{
    gmm_size_probability_nls( x, n, bins = 100, trace = FALSE )
}
\arguments{
    \item{x}{data vector}
    \item{n}{number of mixture components}
    \item{bins}{number of bins}
    \item{trace}{should debug trace be printed?}
}
\value{
    List of the same form as received from optim().
}
\author{Andrius Merkys}