Description Usage Arguments Details Value Examples
cascades3D
Generate cascades of retweets from a initial population of rumors given
1 2 3 4 |
N |
total number of agents |
R |
initial number of rumors |
betadistrib |
vector of size N with the value of beta for each agents |
utility |
vector of size R, with the value of intrinsic utility for each rumors |
time |
number of time that the agents will check their timeline (length of the simulation) |
captl |
maximum messages that agents can acess to |
IC |
initial number of cascades |
summary |
if TRUE, return a data.frame with summary statistics about the cascade, else return a list of lists with a list of all cascades, a list of all rumors, a list of the results, and much more |
Nmax |
if NULL or Nmax == 1, N agents will have the opportunity to retweet at each time step, ifNmax > 1, Nmax randomly sampled agent will have the possibility to retweet, if Nmax < 1, Nmax represnet the proportion of agents that will be able to retweet |
lambda_c |
rate of apparition of new cascades |
lambda_r |
rate of apparition of new rumors |
dtime |
maximum number of timestep during which a cascades can survives. if =< 0 cascades are kept during all the simulation. |
stime |
the oldest tweet (in timestep) that an agent can access from an active cascade (if stime = 1 the agents can only access retweet or tweet done during the previous time step. If -1 there is no limit. |
log |
print the time step and some information if TRUE, nothing if FALSE |
main model of the package
depends on the value of the BOOLEAN summary
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.