Legend in plot_curve

I'm using plot_curve from the riskyr package to plot out Positive and Negative Predictive values of a diagnostic test for different prevalence values, and overall for plotting the curves this works very well but I have troubles finetuning my graph. I would need help on the following:

changing the labels of my y and x axis
adjusting the legend (position of the legend, removing prevalence lines from legend)
adjusting the position of the labels of my points so they don't overlap

library(riskyr)
plot_curve(
prev = c(.05, .1, .2,.3),
sens = 0.9,
mirt = NA,
spec = 0.95,
fart = NA,
what = c("PPV", "NPV","prev"),
p_lbl = "abb",
p_lwd = 2,
what_col = pal,
uc = 0,
show_points = TRUE,
log_scale = FALSE,
prev_range = c(0, 0.4),
lbl_txt = txt,
main = NA,
sub = NA,
title_lbl = NULL,
cex_lbl = 0.7,
col_pal = pal,
mar_notes = FALSE,
)

System Information:

  • RStudio Edition: Desktop
  • RStudio Version: 2024.04.0 Build 735
  • OS Version:
  • R Version:
  • sessionInfo():

Referred here from support.rstudio.com