ergmlhs | R Documentation |
ergm
model in the
LHS/basis network.%ergmlhs%
extracts the setting, while assigning to
it sets or updates it.
lhs %ergmlhs% setting
## S3 method for class 'network'
lhs %ergmlhs% setting
lhs %ergmlhs% setting <- value
## S3 method for class 'network'
lhs %ergmlhs% setting <- value
convert_ergmlhs(lhs)
## S3 method for class 'ergm_lhs'
print(x, ...)
## S3 method for class 'ergm_lhs'
summary(object, ...)
## S3 method for class 'summary.ergm_lhs'
print(x, ...)
lhs |
a |
setting |
a character string holding a setting's name. |
value |
value with which to overwrite the setting. |
The settings are stored in a named list in an "ergm"
network attribute attached to the LHS network. Currently
understood settings include:
response
Edge attribute to be used as the response
variable, constructed from the response=
argument of ergm()
.
constraints
Structural constraints of the network:
inherited by the constraints=
argument of ergm()
,
simulate.formula()
, etc..
obs.constraints
Structural constraints of the
observation process: inherited by the obs.constraints=
argument
of ergm()
, simulate.formula()
, etc..
convert_ergmlhs()
: convert_ergmlhs
converts old-style settings to new-style settings.
print(ergm_lhs)
: a print method.
summary(ergm_lhs)
: helper method for printing summary.
print(summary.ergm_lhs)
: helper method for printing summary.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.