Learn R Programming

CSUV (version 0.1.1)

csuv.plot.helper: Helper function, please do not use it

Description

Helper function, please do not use it

Usage

csuv.plot.helper(
  new.fit,
  with.unconditional = FALSE,
  compare.method.fit = NULL,
  compare.method.names = NULL,
  cv.mod = NULL,
  print.compare.method.points = FALSE,
  ci.method = "conditional",
  with.thr = TRUE,
  with.violin = FALSE,
  to.shade = TRUE,
  level = 0.1,
  var.freq.thr = 0.1,
  ...
)

Arguments

new.fit

fitted results from CSUV::csuv()

with.unconditional

TRUE to get a unconditonal boxplot on the same graph. Default is FALSE

compare.method.fit

(optional) fitted results from CSUV::lm.compare.methods()

compare.method.names

(optional) names of method to compare

cv.mod

(optional) fitted results from cross validation

print.compare.method.points

Default is FALSE

ci.method

how the confidence interval should be calculated. Default is "conditional"

with.thr

whether the selection by the CSUV should be show. Default is TRUE

with.violin

whether the graph with violin plot

to.shade

whether to shade the graph by the relative frequency calculated by CSUV. Default is TRUE

level

the significant level of the whiskers. Default is 0.1

var.freq.thr

minimum variable frequency to show, default is 0.1

...

additional argument for plot

Value

a ggplot object