getformula <- function(object, ...){
if(class(object)!= "cERGM"){
print("Not an cERGM object")
}else{
print(object$formula)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.