Replace values of slots in an object of class Agent by name
1 2 | ## S4 replacement method for signature 'Agent,character'
x[i] <- value
|
x |
object of class "Agent" |
i |
character, describing the slotname to be replace with a value |
value |
ANY, value for the slotname specified by i to be replaced |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.