Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

apollo_detach

Detaches parameters and the database.


Description

Detaches variables attached by apollo_attach.

Usage

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.

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

Value

Nothing.


apollo

Tools for Choice Model Estimation and Application

v0.2.4
GPL-2
Authors
Stephane Hess [aut], David Palma [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.