fit_cluster_model fits a Cauchy cluster model to the data given in point_pattern. If phenotypes_of_interest is given only a subset of data will be used to create the model.

fit_cluster_model(point_pattern, phenotypes_of_interest = NULL)

Arguments

point_pattern

ppp object representing data, can be marked point pattern of whole sample or of a single phenotype

phenotypes_of_interest

specifies which phenotype to base cluster model

Details

Inputs - point_pattern: ppp object representing data can be marked or unmarked phenotypes_of_interest: String with names of phenotypes of interest, if specified the model will be produced based off the subset data. Set to NULL by default

Output - model_parameters: List containing model parameters, kappa, mean cluster size and estimated intensity