Description Usage Arguments Value
View source: R/returnFilename.R
Returns the simulation data file name given a parameter setting
1 2 3 | returnFilename(n_reports, n_drugs, n_events, alpha_drugs, beta_drugs,
alpha_events, beta_events, n_innocent_bystanders, theta_drugs,
n_correlated_pairs, theta, repetitions, type = "raw")
|
n_reports |
Number of reports |
n_drugs |
Number of drugs |
n_events |
Number of adverse drug events |
alpha_drugs |
Alpha parameter for the drug marginal probabilities |
beta_drugs |
Beta parameter for the drug marginal probabilities |
alpha_events |
Alpha parameter for the event marginal probabilities |
beta_events |
Beta parameter for the event marginal probabilities |
theta_drugs |
The increase in odds-ratio when there is a connection between two drugs |
n_correlated_pairs |
Number of drug-event pairs that will exhibit a nonzero correlation |
theta |
Increase in odds-ratio when there is an edge going from a drug to an event |
repetitions |
An array of repetitions one want to get |
type |
Type of data. Takes the values |
method |
The method used for generating the random DAG for the drugs |
exp_degree |
Average degree between the drugs in the random DAG |
A vector of filenames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.