range_detect | R Documentation |
range_detect detects how X and y pixel values map to time and survival values respectively
range_detect(
step1_fig,
step2_axes,
x_start,
x_end,
x_increment,
y_start,
y_increment,
y_end,
y_text_vertical
)
step1_fig |
figure array from previous step |
step2_axes |
axes list from previous step |
x_start |
what does the x-axis start usually 0 |
x_end |
what does the x-axis end in |
x_increment |
what does it go up by (Note: increment between EVERY tick, including minor ones) |
y_start |
what does the y-axis start |
y_increment |
what does it go up by (Note: increment between EVERY tick, including minor ones) |
y_end |
what does it end in |
y_text_vertical |
whether the y -axis label text is vertical or horizontal) |
a list with the Y_0pixel where the y-axis starts, y_increment, X_0pixel and x_increment.
# range_detect(step1_fig, step2_axes, x_start, x_end, x_increment, y_start, y_increment, y_end, y_text_vertical)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.