forestplot_sex: Forestplot graphs

Description Usage Arguments Value Examples

Description

Print graphs by groups (in total and by sex)

Usage

1
forestplot_sex(data, exposure, titre)

Arguments

data

Specificied as on the example : "O:/Codes R/Forestplot/shbg.rdata"

exposure

Names indicating the explicative parameter (such as exposure indicator)

titre

Title of the graph

Value

A forest plot

Examples

1
2
3
4
5
6
7
8
data<-as.data.frame(c("all","girls","all","girls","boys","boys"))
colnames(data)<-"pop"
data$Pvalue<-c(0.05,0.02,0.1,0.001,0.8,0.05)
data$Estimate<-c(1.1,1.2,2.3,1.26,1.01,1.1)
data$LowerCL<-c(1.05,1.15,0.9,1.20,0.6,1.05)
data$UpperCL<-c(1.15,1.25,3.1,1.30,1.6,1.15)
data$CI<-c("[1.05,1.15]","[1.15;1.25]","[0.9;3.1]","[1.20;1.30]","[0.6;1.6]","[1.05,1.15]")
forestplot_sex(data,c("example n°1","example n°2"),"Example")

abinter/monpackage documentation built on March 11, 2020, 12:17 p.m.