Skip to contents

Calculate parameters for simulating mendelian randomization (MR) data from the given hyper parameters and restrictions.

Usage

calculate_parameters(hyper_parameters, restrictions)

Arguments

hyper_parameters

An object of class hyper_parameters

restrictions

An object of class restrictions

Value

An object of class parameters

Details

Additional constraints may be posed to the parameters values in order to guarantee that the simulated data is valid.