ForestPlot: A Self-made Function for forest plot.

Description Usage Arguments

View source: R/ForestPlot.R

Description

This is an extended function of the function "SummaryEns". It uses the summary sheet from "SummaryEns" to do forest plot. The function setwd() is recommended to use beforhand to specify the path to the preferred folder.

Usage

1
2
3
4
5
6
7
ForestPlot(
  summary_path,
  range = c(-5, 5),
  by = 0.5,
  subtitle = NULL,
  type = "f"
)

Arguments

summary_path

The path of the xlsx file which is the output of the function called SummaryEns.

range

The range of the Y axis. The default is from -5 to 5.

by

The increment of the sequence. The default is 0.5.

subtitle

Additional subtitle of the plot.

type

The function can build either a forest plot or a box plot. The default "f" will lead to a forest plot, while "b" will give a box plot.


lsyang99/changhua.sensor documentation built on Oct. 8, 2020, 2:45 p.m.