Description Usage Arguments Details

View source: R/InvestigatePrior_rm.R

Investigate the impact of the `r[m]`

parameters on the smoothness of the exposure-response function `h(z[m])`

.

1 2 | ```
InvestigatePrior(y, Z, X, ngrid = 50, q.seq = c(2, 1, 1/2, 1/4, 1/8, 1/16),
r.seq = NULL, Drange = NULL, verbose = FALSE)
``` |

`y` |
a vector of outcome data of length |

`Z` |
an |

`X` |
an |

`ngrid` |
Number of grid points over which to plot the exposure-response function |

`q.seq` |
Sequence of values corresponding to different degrees of smoothness in the estimated exposure-response function. A value of q corresponds to fractions of the range of the data over which there is a decay in the correlation |

`r.seq` |
sequence of values at which to fix |

`Drange` |
the range of the |

`verbose` |
TRUE or FALSE: flag indicating whether to print to the screen which exposure variable and q value has been completed |

For guided examples, go to https://jenfb.github.io/bkmr/overview.html

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.