View source: R/NeuralNetTools_utils.R

Plot connection weights for bias lines in `plotnet`

1 2 | ```
bias_lines(bias_x, bias_y, mod_in, nid, rel_rsc, all_out, pos_col, neg_col,
struct, y_names, x_range, y_range, layer_x, line_stag, max_sp)
``` |

`bias_x` |
numeric vector x axis locations for bias lines |

`bias_y` |
numeric vector y axis locations for bias lines |

`mod_in` |
neural network model object |

`nid` |
logical value indicating if neural interpretation diagram is plotted, default |

`rel_rsc` |
numeric indicating the scaling range for the width of connection weights in a neural interpretation diagram. Default is |

`all_out` |
chr string indicating names of response variables for which connections are plotted, default all |

`pos_col` |
chr string indicating color of positive connection weights, default |

`neg_col` |
chr string indicating color of negative connection weights, default |

`struct` |
numeric vector for network structure |

`y_names` |
chr string for names of output variables |

`x_range` |
numeric of x axis range for base plot |

`y_range` |
numeric of x axis range for base plot |

`layer_x` |
numeric indicating locations of layers on x axis |

`line_stag` |
numeric value that specifies distance of connection weights from nodes |

`max_sp` |
logical indicating if space is maximized in plot |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.