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

https://github.com/cran/sns
19 January 2020, 00:17:20 UTC
  • Code
  • Branches (7)
  • Releases (0)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/0.9
    • refs/tags/0.9.1
    • refs/tags/1.0.0
    • refs/tags/1.1.0
    • refs/tags/1.1.1
    • refs/tags/1.1.2
    No releases to show
  • 00851c7
  • /
  • man
  • /
  • plot.sns.Rd
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

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
  • directory
  • revision
  • snapshot
origin badgecontent badge
swh:1:cnt:fd457117475ae4f627f54143bbaff8ccb7a2b5f6
origin badgedirectory badge
swh:1:dir:314a09150f4fc1dd7fdf8580128ebf3404f92fb9
origin badgerevision badge
swh:1:rev:075be1a8012f72bb2248bac416ce04bddff192ac
origin badgesnapshot badge
swh:1:snp:c52071b2223e07255bd8e8c58eb50c86e06d1242

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
  • directory
  • revision
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: 075be1a8012f72bb2248bac416ce04bddff192ac authored by Alireza Mahani on 29 July 2015, 00:00:00 UTC
version 1.1.0
Tip revision: 075be1a
plot.sns.Rd
\name{plot.sns}
\alias{plot.sns}

\title{
Plotting "sns" Objects
}

\description{
Method for visualizing the output of \code{\link{sns.run}}.
}

\usage{
\method{plot}{sns}(x, nburnin = max(nrow(x)/2, attr(x, "nnr"))
  , select = if (length(x) <= 10) 1:5 else 1, ...)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{x}{Object of class "sns", typically the output of \code{\link{sns.run}}.}
  \item{nburnin}{Number of burn-in iterations to discard before generating effective sample size, histograms, and autocorrelation plots.}
  \item{select}{Which plot types must be generated. See below for description.}
  \item{...}{Arguments passed to/from other functions.}
}

\value{
\code{plot.sns} produces the following types of plots: 1) log-probability trace plot (vertical line, if present, indicates transition from nr to mcmc mode), 2) trace plot of state variables (one per coordinate; vertical line has same meaning as 1), 3) effective sample size by coordinate (horizontal line indicates maximum effective size possible, equal to number of samples after discarding nburnin initial iterations), 4) post-burnin state vector histograms (one per coordinate, vertical line indicates post-burnin average, 5) autocorrelation plots, one per coordinate.
}

\author{
Alireza S. Mahani, Asad Hasan, Marshall Jiang, Mansour T.A. Sharabiani
}

\seealso{
\code{\link{sns.run}}
}

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