glmfit: Plot posterior distribution of a given parameter

Description Usage Arguments See Also Examples

View source: R/glmfit.R

Description

Plot posterior distribution of a given parameter.

Usage

1
2
glmfit(..., clip = c(0, 8), user_specified_variables, plotting_for_sig_only = FALSE,
        main = NULL, main.xycoord = c(0.3, 1.05), use.stats.glm=FALSE)

Arguments

...

Parameters passed to stats::glm or arm::bayesglm.

clip

Clip used in rmeta::forestplot(...).

user_specified_variables

Variables to display on the forest plot.

plotting_for_sig_only

If TRUE, forest plot is generated if there is at least one significant coefficient.

main

The title of the forest plot.

main.xycoord

The coordinate of the title.

use.stats.glm

If TRUE, use stats::glm. arm::bayesglm is used by default.

See Also

stan_lm,stan_glm

Examples

1
2
3
4
5
6
7
8
9
## Not Run
gene <- "TP53"
f <- sprintf("
fit = glmfit(
	as.formula(f),
	data = regular,
	family = binomial,
	clip = c(0, 9),
	main = sprintf("

lixiangchun/lxctk documentation built on May 21, 2019, 6:44 a.m.