⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 conditdat.rd

📁 这个包里面含有利用极大似然估计方法来拟合成组数据和条件数据的有限混合分布模型的函数
💻 RD
字号:
\name{conditdat} 
\alias{conditdat}
\title{Add Conditional Data to Grouped Data}
\description{
  It combines automatically grouped data with conditional data   
  when enter the conditional samples.
}
\usage{
conditdat(mixdat, k, conditsamples)
}
\arguments{
\item{mixdat}{a data frame containing grouped data, whose
first column should be the right boundaries of
grouping intervals, and the second one should
be the numbers of observations falling into
each interval.}
\item{k}{the number of components.}
\item{conditsamples}{a vector containing conditional data, which
consists of the conditional samples, the
first element of each sample is a number
indicating which interval this sample comes
from.}
}
\value{
A data frame containing the grouped data with
conditional data.
}
\seealso{
\code{\link{mixgroup}} for constructing grouped and conditional
data.
}
\examples{
data(pike65) # load the data set `pike65'
pike65 # display the data set `pike65'
conditdat(pike65, k = 5, conditsamples =
          c(c(4, 9, 2, 0, 0, 0), c(5, 8, 6, 0, 0,0),
          c(12, 0, 2, 34, 0, 0), c(13, 0, 0, 21, 0, 0),
          c(15, 0, 0, 5, 5, 0), c(16, 0, 0, 6, 5, 1),
          c(17, 0, 0, 5, 7, 0), c(18, 0, 0, 4, 4, 3),
          c(19, 0, 0, 0, 8, 0), c(20, 0, 0, 0, 2, 1),
          c(21, 0, 0, 0, 1, 5), c(22, 0, 0, 0, 2, 4)))
# add conditional data to the grouped data `pike65'
}
\keyword{misc}
\keyword{utilities}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -