netdata
netdata(
fit,
newdata = NULL,
timepoint = "median",
cmprsk = FALSE,
modelnames = NULL,
merge = FALSE,
y.min = NULL,
xstop = NULL,
y.max = NULL,
pyh = NULL,
relcol = "#c01e35",
irrelcol = "#0151a2",
relabel = "Nomogram relevant",
irrellabel = "Nomogram irrelevant",
text.size = 4.5,
text.col = "green",
colbar = TRUE,
threshold.text = FALSE,
threshold.line = FALSE,
nudge_x = 0,
nudge_y = 0,
threshold.linetype = 2,
threshold.linewidth = 1.2,
threshold.linecol = "black",
po.text.size = 4,
po.text.col = "black",
po.text.fill = "white",
liftpec = NULL,
rightpec = NULL,
legend.position = c(0.85, 0.75)
)
A data used for plotting.
Fill in the model you want to analyze. Support survival analysis and logistic regression.
If the decision curve of the validation set is to be analysed. Fill in the validation set data here.
If it is a survival analysis, fill in the point in time you need to study. The default is the median time.
If it is a competitive risk model, select TRUE here.
Defines the name of the generated image model.
If true is selected it will merge the two long zones.
The maximum value of the negative part of the picture. Generally defaults to positive values multiplied by 0.4.
The maximum value of the X-axis of the picture.
The maximum value of the Y-axis. The default value is the maximum net benefit.
The height at which the bars are plotted cannot exceed y.min.
The colour of the relevant part of the bar. The default is red.
The colour of the irrelevant part of the bar. The default is blue.
Relevance Tags.
No relevant tags.
Font size.
The colour of the font.
The default is true, and if false is selected, bar plotting is cancelled.
The default is FALSE, if TRUE is selected, a text message for the threshold will be added.
The default is FALSE, and if TRUE is selected, lines for the threshold will be added.
Used to adjust the x-axis position of the point where the threshold is located.
Used to adjust the y-axis position of the point where the threshold is located.
The line shape of the threshold line.
The line width of the threshold line.
The colour of the threshold line.
The size of the threshold point text.
The colour of the threshold point text.
The background of the threshold point text.
Threshold point left displacement.
Threshold point right displacement.
Set the position of the legend.