powered by
mc_N calculates the number of observations (sample size) that fall within a certain fit radius for each mixture component location.
mc_N
mc_N(coords, mc.locations, fit.radius)
A matrix of observation locations.
A matrix of the mixture component locations to use in the model fitting.
Scalar; defines the fitting radius for local likelihood estimation.
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.
mc.N.fit
coords
# NOT RUN { mc_N( coords = simdata$sim.locations, mc.locations = simdata$mc.locations, fit.radius = 1 ) # } # NOT RUN { # }
Run the code above in your browser using DataLab