Plot connection weights in plotnet
layer_lines(
mod_in,
h_layer,
layer1 = 1,
layer2 = 2,
out_layer = FALSE,
nid,
rel_rsc,
all_in,
pos_col,
neg_col,
x_range,
y_range,
line_stag,
x_names,
layer_x,
struct,
max_sp,
prune_col = NULL,
prune_lty = "dashed",
skip
)
neural network model object
numeric indicating which connections to plot for the layer
numeric indicating order of first layer (for multiple hiden layers)
numeric indicating order of second layer (for multiple hiden layers)
logical indicating if the lines are for the output layer
logical value indicating if neural interpretation diagram is plotted, default TRUE
numeric indicating the scaling range for the width of connection weights in a neural interpretation diagram. Default is NULL
for no rescaling.
chr string indicating names of input variables for which connections are plotted, default all
chr string indicating color of positive connection weights, default 'black'
chr string indicating color of negative connection weights, default 'grey'
numeric of x axis range for base plot
numeric of y axis range for base plot
numeric value that specifies distance of connection weights from nodes
chr string for names of input variables
numeric indicating locations of layers on x axis
numeric vector for network structure
logical indicating if space is maximized in plot
chr string indicating color of pruned connections, otherwise not shown
line type for pruned connections, passed to segments
logical to plot connections for skip layer