Pavel N. Krivitsky

Results 123 issues of Pavel N. Krivitsky

Right now, `btergm` uses `ergm.design()`, which is a very crude function, because it only recognises constraints induced by `NA`. Using the `ergm_conlist` API might enable it to handle others. For...

enhancement
help wanted

My use case is slides for mathematical lecture notes, with proofs to be done on the board. I'd like to have a cheat sheet with proof notes embedded in the...

The constraint simply takes the provided edgelist and fixes the corresponding dyads. It doesn't check if the edges in `present` are present, in `absent` are absent, and it doesn't modify...

# The problem: ``` r library(ergm) data(florentine) ## Business as dyad covariate for marriage flomarriage %n% "business" edgecov.business #> 8 ``` ``` r ## Consider a subgraph excluding nodes 1...

If a term that uses an auxiliary requires information produced by initialising that auxiliary, it would be efficient if the term could initialise the auxiliary and then instead of returning...

``` r suppressPackageStartupMessages(library(ergm)) data(sampson) samplike.m `attr(new, 'nobs')`: 306 #> #> `attr(old, 'br')` is absent #> `attr(new, 'br')` is a list ``` Created on 2024-07-23 with [reprex v2.1.1](https://reprex.tidyverse.org) NB: Here, the...

According to documentation, `tergm(nwd~..., estimate="CMLE")` with `times=` argument omitted should fit one transition, from time 0 to time 1. In actuality, it just crashes: ``` r library(tergm) dummy NetworkDynamic properties:...

`MCMCDyn_wrapper()` pre-allocates three integer vectors (time, tail, head), each of length `control$MCMC.maxchanges`, then trims them as needed. A more memory-efficient approach would be to start with a short vector and...

Since https://github.com/r-lib/roxygen2/pull/1633 was merged, the behaviour has been to expand `[fun()]` to `\code{\link[pkg:fun]{pkg::fun()}}`. This is often unsightly and verbose and is not ideal when the link text refers to a...

Ideally, there would be a way to evaluate some function on each dyad's value and then evaluate the terms of interest on the valued network with new dyad values. In...

Language: C
Language: R
Component: Terms