Skip to contents

This function is called once when a tuning gadget is started. It prepares the params object for tuning by setting defaults for the species parameters that the tuning gadget uses but which may not be set in the params object.

Usage

prepare_params(p, hook = NULL)

Arguments

p

The params object

hook

An optional function (p) -> p called after the shared preparation to apply package-specific defaults.

Value

The prepared params object