Learn R Programming

apollo (version 0.3.2)

apollo_detach: Detaches parameters and the database.

Description

Detaches variables attached by apollo_attach.

Usage

apollo_detach(apollo_beta = NA, apollo_inputs = NA)

Value

Nothing.

Arguments

apollo_beta

Named numeric vector. Names and values for parameters.

apollo_inputs

List grouping most common inputs. Created by function apollo_validateInputs.

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().