Set Headers for each cross

set_header(
  object,
  header = NULL,
  hjust = 0.5,
  vjust = 0.95,
  hjust.by.nodes = F,
  vjust.by.nodes = F,
  layout = NULL
)

Arguments

object

a CrossLink object

header

a vector of titles for all crosses. Its length should be equal with the length of crosses (object@cross). Set NULL for default using names(object@cross) and set NA to remove headers.

hjust, vjust

a vector for setting x or y position for each header. Repeatedly used if its length less than the length of crosses

hjust.by.nodes, vjust.by.nodes

hjust and vjust will be setted based on nodes ranges (w/o blanks) or cross ranges (w/ blanks). Repeatedly used.

layout

name of the layout to be retrived or set

Value

an updated CrossLink object

Examples