small_margin: Margin

Description Usage Arguments Details Value See Also Examples

View source: R/small_margin.R

Description

If each variable is smaller, then the margin of it is smaller, so plot region become larger. But title and x axis title will be vanished.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
small_margin(
  Down.oma = 1,
  Left.oma = 1,
  Top.oma = 1,
  Right.oma = 1,
  Down.mar = 1,
  Left.mar = 1,
  Top.mar = 1,
  Right.mar = 1
)

Arguments

Down.oma

smaller gives larger plot region

Left.oma

smaller gives larger plot region

Top.oma

smaller gives larger plot region

Right.oma

smaller gives larger plot region

Down.mar

smaller gives larger plot region

Left.mar

smaller gives larger plot region

Top.mar

smaller gives larger plot region

Right.mar

smaller gives larger plot region

Details

To show FROC curve or signal and noise distributions in Shiny Graphical devices, the author write down this function small_margin. By taking margin too small, we gives more larger plot regions in Shiny Graphicl devices. 2019 August 6

Value

NONE

See Also

draw_latent_signal_distribution()

draw_latent_noise_distribution()

DrawCurves()

DrawCurves_srsc()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
small_margin()
graphics::plot(1:3,1:3)


small_margin(2,2,2,2)
graphics::plot(1:3,1:3)

small_margin(2,2,2,2,4,4,4,4)
graphics::plot(1:3,1:3)
colors()
graphics::rect(
par()$usr[1],
par()$usr[2],
par()$usr[3],
par()$usr[4],

 col = "steelblue3",
 border = NA)

small_margin(0.1,0.1)
graphics::plot(1:2,1:2, type="n")

BayesianFROC documentation built on Jan. 23, 2022, 9:06 a.m.