apollo_detach function

Detaches parameters and the database.

Detaches parameters and the database.

Detaches variables attached by apollo_attach .

apollo_detach(apollo_beta = NA, apollo_inputs = NA)

Arguments

  • apollo_beta: Named numeric vector. Names and values for parameters.
  • apollo_inputs: List grouping most common inputs. Created by function apollo_validateInputs .

Returns

Nothing.

Details

This function detaches the variables attached by apollo_attach . It should be called at the end of apollo_probabilities, only if apollo_attach was called and the beginning. This can also be achieved by adding the line on.exit(apollo_detach(apollo_beta, apollo_inputs))

right after calling apollo_attach . This function can also be called without any arguments, i.e. apollo_detach().

  • Maintainer: Stephane Hess
  • License: GPL-2
  • Last published: 2025-03-12