Selecting, Copying and Pasting

Netica

Selecting, Copying and Pasting Cells

To do operations on a subset of cells in the table dialog box, you first select them, which will hilite them.

Selecting:  To select cells of a numeric table, click down in one cell, and drag the mouse to another cell before releasing the mouse button.  While you are moving the mouse, all the cells in the rectangle between the original cell and the current mouse position will be hilited.  The cell you first click down in must not be the cell you are currently editing (i.e. the only selected cell, or the cell with the insertion point blinking in it) or Netica will think that you are doing an operation to edit just that cell.  You can drag outside the window boundary to force auto scrolling.  Once a selection is made, you can hold down the shift key while you click on another cell to extend or reduce the selection.  To select whole rows at a time, click at the left edge of the row (just to the right of the double line) and drag up or down.

Deterministic:  Selecting cells of a deterministic table is done in the same way, except only selection by rows is allowed (if you click down in a cell you will get a pop-up menu instead).

Copy & Paste Multiple:  After you have selected some cells, you can copy their values to the = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_clipboard.htm');return false;">clipboard by choosing Edit Copy (or pressing a shortcut key, or clicking image\CopyTOOL.gif).  To place those values in some other cells, select the cells and choose Edit Paste (or press ctrl+v or click image\PasteTOOL.gif).  If the paste region is larger than the copy region, the contents of the copy region will be repeated horizontally and/or vertically to fill the paste region (you will be given a notice if they are not an even integer multiple).  If the paste region is smaller than the copy region, you will be given a notice and the truncated contents will be pasted.  Instead of selecting the whole paste region, you may find it easier to just select the upper-leftmost cell of where you want the contents pasted.

Copy & Paste Single:  Select a single cell by clicking down on it and slightly dragging the mouse-pointer within the cell (if you don't drag, Netica will instead prepare the cell for editing), or right click the cell.  As with nodes, you can cut, copy or paste single cells.  Select the cell and choose a command from the Edit menu, or press the equivalent shortcut key.

Other Programs:  You can copy and paste back and forth between the Netica table and a spreadsheet, such as Excel, or a word processing program.  If each row of probabilities being pasted doesn't exactly add up to one, then do a normalize command after pasting.  Netica cells copied to the clipboard are entered as text, with a tab between each entry on the same line, and a carriage-return/line-feed pair at the end of every line.  When copying from a word processor or = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_text_editor.htm');return false;">text editor to Netica, the format should be the same, except space(s) and/or a comma may be substituted for each tab, and line-feed(s) may be substituted for carriage returns.  Blank lines will be ignored.

Whole Tables Including Names:  To paste whole CPT tables into Excel (or another program), make the Bayes net window = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_active_window.htm');return false;">active and = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_toggle_menu.htm');return false;">toggle on Report Tab Separators and Report Copy to Clipboard (and if desired, toggle off Report To Messages Window).  Then = 4 && typeof(BSPSPopupOnMouseOver) == 'function') BSPSPopupOnMouseOver(event);" class="BSSCPopup" onclick="BSSCPopup('X_PU_select_node.htm');return false;">select the node(s) you are interested in, choose Report CPT Tables, click a cell in the Excel spreadsheet, and then press ctrl+v or Edit Paste.  You can control whether you want the names of the nodes and states included by toggling Report Include Names.