km_legend: Make a legend command suitable for km

View source: R/km.R

km_legendR Documentation

Make a legend command suitable for km

Description

Make a legend command suitable for km

Usage

km_legend(
  x,
  y = NULL,
  levels = NULL,
  colors = NULL,
  lty = "solid",
  lwd = 1,
  title = NULL
)

Arguments

x

same as legend's x

y

same as legend's y

levels

factor levels

colors

colors

lty

lty

lwd

lwd

title

legend title


lbraglia/lbsurv documentation built on June 19, 2022, 11:13 p.m.