Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
content badge
swh:1:cnt:273b1d66daff4aab81f47fedbdc5bf5c1c0f0d99

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
(requires biblatex-software package)
Generating citation ...
\name{simMLgvar}
\alias{simMLgvar}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Generate graphical VAR data of multiple subjects
}
\description{
See arxiv.org/abs/1609.04156 for details.
}
\usage{
simMLgvar(nTime, nVar, nPerson, propPositive = 0.5, kappaRange = c(0.25, 0.5), 
          betaRange = c(0.25, 0.5), betweenRange = c(0.25, 0.5), 
          rewireWithin = 0, betweenVar = 1, withinVar = 0.25, 
          temporalOffset = 2)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{nTime}{
Number of time points per subject
}
  \item{nVar}{
Number of variables
}
  \item{nPerson}{
Number of subjects
}
  \item{propPositive}{
Proportion of positive edges
}
  \item{kappaRange}{
Range of partial contemporaneous correlation coefficients
}
  \item{betaRange}{
Range of temporal coefficients
}
  \item{betweenRange}{
Range of partial between-subjects coefficients
}
  \item{rewireWithin}{
Rewiring probability of contemporaneous networks
}
  \item{betweenVar}{
Between-subjects variabce
}
  \item{withinVar}{
Contemporaneous variance
}
  \item{temporalOffset}{
Specifies the temporal network. Setting this to 2 connects X_i to X_(i+2)
}
}
\value{
A \code{"simMLgvar"} object with the following elements:
\item{data }{Generated dataset}
\item{fixedKappa }{Fixed inverse contemporaneous covariance matrix}
\item{fixedPCC }{Fixed contemporaneous partial correlation network}
\item{fixedBeta }{Fixed temporal network}
\item{fixedPDC }{Fixed standardized temporal network}
\item{between }{Fixed between-subjects network}
\item{means }{True means}
\item{personData }{Dataset split per person}
\item{idvar }{String indicating the id variable}
\item{vars }{Vector of strings indicating the variables}
}
\author{
Sacha Epskamp <mail@sachaepskamp.com>
}

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API