https://github.com/cran/convoSPAT
Revision 2ecb9ba15a04fd468731c269b17a2df92bbc16b3 authored by Mark D. Risser on 12 April 2017, 21:30:56 UTC, committed by cran-robot on 12 April 2017, 21:30:56 UTC
1 parent a7a303c
Raw File
Tip revision: 2ecb9ba15a04fd468731c269b17a2df92bbc16b3 authored by Mark D. Risser on 12 April 2017, 21:30:56 UTC
version 1.2
Tip revision: 2ecb9ba
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