1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/games.R
\name{establishment.game}
\alias{establishment.game}
\title{Graph generation based on different vertex types}
\usage{
establishment.game(
nodes,
types,
k = 1,
type.dist = rep(1, types),
pref.matrix = matrix(1, types, types),
directed = FALSE
)
}
\arguments{
\item{nodes}{The number of vertices in the graph.}
\item{types}{The number of different vertex types.}
\item{k}{The number of trials per time step, see details below.}
\item{type.dist}{The distribution of the vertex types. This is assumed to be
stationary in time.}
\item{pref.matrix}{A matrix giving the preferences of the given vertex
types. These should be probabilities, i.e. numbers between zero and one.}
\item{directed}{Logical constant, whether to generate directed graphs.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}
\code{establishment.game()} was renamed to \code{sample_traits()} to create a more
consistent API.
}
\keyword{internal}
|