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/rstpm2
24 November 2025, 04:36:46 UTC
  • Code
  • Branches (29)
  • Releases (0)
  • Visits
Revision 60cb1961fe963ebecfed7d8c6ac31410f17e1997 authored by Mark Clements on 19 August 2024, 13:40:02 UTC, committed by cran-robot on 20 August 2024, 02:54:00 UTC
version 1.6.4
1 parent a7579fe
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • refs/tags/1.2.2
    • refs/tags/1.3.1
    • refs/tags/1.3.2
    • refs/tags/1.3.4
    • refs/tags/1.4.0
    • refs/tags/1.4.1
    • refs/tags/1.4.2
    • refs/tags/1.4.4
    • refs/tags/1.4.5
    • refs/tags/1.5.0
    • refs/tags/1.5.1
    • refs/tags/1.5.2
    • refs/tags/1.5.5
    • refs/tags/1.5.6
    • refs/tags/1.5.7
    • refs/tags/1.5.8
    • refs/tags/1.5.9
    • refs/tags/1.6.1
    • refs/tags/1.6.2
    • refs/tags/1.6.3
    • refs/tags/1.6.4
    • refs/tags/1.6.5
    • refs/tags/1.6.6
    • refs/tags/1.6.6.1
    • refs/tags/1.6.7
    • refs/tags/1.6.9
    • refs/tags/1.7.0
    • refs/tags/1.7.1
    • 60cb1961fe963ebecfed7d8c6ac31410f17e1997
    No releases to show
  • 4801f27
  • /
  • DESCRIPTION
Raw File Download
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.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:60cb1961fe963ebecfed7d8c6ac31410f17e1997
origin badgedirectory badge
swh:1:dir:4801f2758332e8f34e0247998f3522491664ca08
origin badgecontent badge
swh:1:cnt:c070b60fac948924f5fe757eca1b38d5a522e437
origin badgesnapshot badge
swh:1:snp:3f38ebb057175cccdf64871049d1dcd24f623acb

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.

  • revision
  • directory
  • content
  • 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: 60cb1961fe963ebecfed7d8c6ac31410f17e1997 authored by Mark Clements on 19 August 2024, 13:40:02 UTC
version 1.6.4
Tip revision: 60cb196
DESCRIPTION
Package: rstpm2
Type: Package
Title: Smooth Survival Models, Including Generalized Survival Models
Authors@R: c(person("Mark", "Clements", role = c("aut", "cre"),
		     email = "mark.clements@ki.se"),
	      person("Xing-Rong", "Liu", role = "aut",
		     email = "xingrong.liu@ki.se"),
	      person("Benjamin", "Christoffersen", role = "aut",
		     email = "benjamin.christoffersen@ki.se"),
	      person("Paul", "Lambert", role = "ctb", email="pl4@leicester.ac.uk"),
	      person("Lasse", "Hjort Jakobsen", role = "ctb", email="lasse.j@rn.dk"),
	      person("Alessandro", "Gasparini", role = "ctb"),
	      person("Gordon","Smyth", role="cph"),
	      person("Patrick","Alken", role="cph"),
	      person("Simon","Wood", role="cph"),
	      person("Rhys","Ulerich", role="cph"))
Version: 1.6.4
Date: 2024-08-08
Depends: R (>= 3.0.2), methods, survival, splines
Imports: graphics, Rcpp (>= 0.10.2), stats, mgcv, bbmle (>= 1.0.20),
        fastGHQuad, utils, parallel, mvtnorm
Suggests: eha, testthat, ggplot2, lattice, readstata13, mstate, scales,
        survPen, flexsurv, timereg, deSolve
LinkingTo: Rcpp,RcppArmadillo,BH
Maintainer: Mark Clements <mark.clements@ki.se>
Description: R implementation of generalized survival models (GSMs), smooth accelerated failure time (AFT) models and Markov multi-state models. For the GSMs, g(S(t|x))=eta(t,x) for a link function g, survival S at time t with covariates x and a linear predictor eta(t,x). The main assumption is that the time effect(s) are smooth <doi:10.1177/0962280216664760>. For fully parametric models with natural splines, this re-implements Stata's 'stpm2' function, which are flexible parametric survival models developed by Royston and colleagues. We have extended the parametric models to include any smooth parametric smoothers for time. We have also extended the model to include any smooth penalized smoothers from the 'mgcv' package, using penalized likelihood. These models include left truncation, right censoring, interval censoring, gamma frailties and normal random effects <doi:10.1002/sim.7451>, and copulas. For the smooth AFTs, S(t|x) = S_0(t*eta(t,x)), where the baseline survival function S_0(t)=exp(-exp(eta_0(t))) is modelled for natural splines for eta_0, and the time-dependent cumulative acceleration factor eta(t,x)=\int_0^t exp(eta_1(u,x)) du for log acceleration factor eta_1(u,x). The Markov multi-state models allow for a range of models with smooth transitions to predict transition probabilities, length of stay, utilities and costs, with differences, ratios and standardisation.
URL: https://github.com/mclements/rstpm2
BugReports: https://github.com/mclements/rstpm2/issues
License: GPL-2 | GPL-3
LazyData: yes
Encoding: UTF-8
RoxygenNote: 7.2.3
NeedsCompilation: yes
Packaged: 2024-08-15 08:54:38 UTC; marcle
Author: Mark Clements [aut, cre],
  Xing-Rong Liu [aut],
  Benjamin Christoffersen [aut],
  Paul Lambert [ctb],
  Lasse Hjort Jakobsen [ctb],
  Alessandro Gasparini [ctb],
  Gordon Smyth [cph],
  Patrick Alken [cph],
  Simon Wood [cph],
  Rhys Ulerich [cph]
Repository: CRAN
Date/Publication: 2024-08-19 13:40:02 UTC
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

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