https://github.com/cran/RecordLinkage
Revision 7b637fcba50565376ad15dacbc0a8b60eb55a8d3 authored by Murat Sariyar on 10 May 2011, 00:00:00 UTC, committed by Gabor Csardi on 10 May 2011, 00:00:00 UTC
1 parent d810dc3
Raw File
Tip revision: 7b637fcba50565376ad15dacbc0a8b60eb55a8d3 authored by Murat Sariyar on 10 May 2011, 00:00:00 UTC
version 0.3-2
Tip revision: 7b637fc
getExpectedSize.Rd
\name{getExpectedSize}
\alias{getExpectedSize}
\alias{getExpectedSize-methods}
\alias{getExpectedSize,RLBigDataDedup-method}
\alias{getExpectedSize,RLBigDataLinkage-method}
\alias{getExpectedSize,data.frame-method}

\title{
  Estimate number of record pairs.
}
\description{
  Estimates the total number of record pairs generated by a dataset and
  specified blocking conditions.
}
\usage{
  getExpectedSize(object, ...)

  \S4method{getExpectedSize}{RLBigDataDedup}(object)

  \S4method{getExpectedSize}{RLBigDataLinkage}(object)

  \S4method{getExpectedSize}{data.frame}(object, blockfld = list())
}

\arguments{
  \item{object}{
    Either a record linkage object or a dataset.
  }
  \item{blockfld}{A blocking definition, such as in \code{\link{compare.dedup}}}
  \item{\dots}{
    Placeholder for additional arguments.
  }
}
\details{
  Estimation is based on the assumption that agreement or disagreement of one
  attribute is independent of the other attributes.
  
  For the \code{"data.frame"} method, the blocking definition has to be
  provided, for the other methods, it is taken from the object.
}
\value{
  The expected number of record pairs.
}
\author{
  Andreas Borg, Murat Sariyar
}


\keyword{classif}
back to top