mc_N {convoSPAT}R Documentation

Calculate local sample sizes.

Description

mc_N calculates the number of observations (sample size) that fall within a certain fit radius for each mixture component location.

Usage

mc_N(coords, mc.locations, fit.radius)

Arguments

coords

A matrix of observation locations.

mc.locations

A matrix of the mixture component locations to use in the model fitting.

fit.radius

Scalar; defines the fitting radius for local likelihood estimation.

Value

A vector mc.N.fit, which summarizes the number of observation locations in coords that fall within the fit radius for each mixture component location.

Examples

## Not run: 
mc_N( coords = simdata$sim.locations, mc.locations = simdata$mc.locations,
fit.radius = 1 )

## End(Not run)


[Package convoSPAT version 1.2.7 Index]