https://github.com/cran/convoSPAT
Revision 5f75258a89541e5d34635e6f30b9e27ac6b16815 authored by Mark D. Risser on 03 November 2017, 15:53:59 UTC, committed by cran-robot on 03 November 2017, 15:53:59 UTC
1 parent 2ecb9ba
Raw File
Tip revision: 5f75258a89541e5d34635e6f30b9e27ac6b16815 authored by Mark D. Risser on 03 November 2017, 15:53:59 UTC
version 1.2.4
Tip revision: 5f75258
mc_N.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convoSPAT_summplot.R
\name{mc_N}
\alias{mc_N}
\title{Calculate local sample sizes.}
\usage{
mc_N(coords, mc.locations, fit.radius)
}
\arguments{
\item{coords}{A matrix of observation locations.}

\item{mc.locations}{A matrix of the mixture component locations to
use in the model fitting.}

\item{fit.radius}{Scalar; defines the fitting radius for local likelihood
estimation.}
}
\value{
A vector \code{mc.N.fit}, which summarizes the number of
observation locations in \code{coords} that fall within the fit radius
for each mixture component location.
}
\description{
\code{mc_N} calculates the number of observations (sample size) that
fall within a certain fit radius for each mixture component location.
}
\examples{
\dontrun{
mc_N( coords = simdata$sim.locations, mc.locations = simdata$mc.locations,
fit.radius = 1 )
}

}

back to top