Common R Scripts and Utilities Used by the Statnet Project Software

all_identical | Test if all items in a vector or a list are identical. |

as.rle | Coerce to 'rle' if not already an 'rle' object. |

check.control.class | Check if the class of the control list is one of those that... |

compress.data.frame | "Compress" a data frame. |

compress_rows | A generic function to compress a row-weighted table |

control.list.accessor | Named element accessor for ergm control lists |

control.remap | Overwrite control parameters of one configuration with... |

deprecation-utilities | Utilities to help with deprecating functions. |

despace | A one-line function to strip whitespace from its argument. |

ERRVL | Return the first argument passed (out of any number) that is... |

forkTimeout | Evaluate an R expression with a hard time limit by forking a... |

formula.utilities | Functions for Querying, Validating and Extracting from... |

logspace.utils | Utilities for performing calculations on logarithmic scale. |

mcmc-utilities | Utility operations for 'mcmc.list' objects |

message_print | 'print' objects to the 'message' output. |

NVL | Convenience functions for handling 'NULL' objects. |

opttest | Optionally test code depending on environment variable. |

paste.and | Concatenates the elements of a vector (optionaly enclosing... |

print.control.list | Pretty print the control list |

rle.utils | RLE utilities |

set.control.class | Set the class of the control list |

sort.data.frame | Implement the 'sort' and 'order' methods for 'data.frame' and... |

statnet.cite | 'CITATION' file utilities for Statnet packages (DEPRECATED) |

statnetStartupMessage | Construct a "standard" startup message to be printed when the... |

sweep_cols.matrix | Suptract a elements of a vector from respective columns of a... |

ult | Extract or replace the _ult_imate (last) element of a vector... |

unwhich | Construct a logical vector with 'TRUE' in specified... |

vector.namesmatch | reorder vector v into order determined by matching the names... |

wmatrix | A data matrix with row weights |

wmatrix_weights | Set or extract weighted matrix row weights |

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.