Nothing
# File tests/testthat/test-mple-offset.R in package ergm, part of the
# Statnet suite of packages for network analysis, https://statnet.org .
#
# This software is distributed under the GPL-3 license. It is free,
# open source, and has the attribution requirements (GPL Section 7) at
# https://statnet.org/attribution .
#
# Copyright 2003-2023 Statnet Commons
################################################################################
library(statnet.common)
opttest({
test_that("MPLE + offset", {
set.seed(0)
options(ergm.eval.loglik=FALSE)
data(florentine)
boo<-flomarriage
boo[1:3,]<-0
foo <- suppressWarnings(
ergm(flomarriage~edges+offset(edgecov(boo))+gwesp(0.25,fixed=T),offset.coef=20))
expect_lte(max(abs(coef(foo)), na.rm=T), 20)
})
}, "MPLE + offset")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.