Skip to contents

Constructs a new HZModelFit object

Usage

new_HZModelFit(
  par = NULL,
  dist = NULL,
  metric = NULL,
  value = NULL,
  dens = NULL,
  seg_start = NULL,
  seg_end = NULL,
  ...
)

Arguments

par

list of named parameters

dist

character name of distribution

metric

character name of metric

value

numeric result of applying metric to observed data and fitted distribution

dens

function which takes a vector of coordinates, a list of parameters and a logical determining whether the output should be scaled; returns the fitted distribution density

seg_start

integer histogram index start of uniform segment

seg_end

integer histogram index end of uniform segment

...

additional parameters, allowing child classes to be built

Value

an HZModelFit object