inst/doc/psc.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.width = 7,
  fig.height= 5
)

## -----------------------------------------------------------------------------
library(psc)
e4_data <- psc::e4_data
gemCFM <- psc::gemCFM

## -----------------------------------------------------------------------------
gemCFM$terms

## -----------------------------------------------------------------------------
gemCFM$out.nm

## -----------------------------------------------------------------------------
plotCFM(gemCFM)

## -----------------------------------------------------------------------------
gemCFM$haz_co

## -----------------------------------------------------------------------------
gemCFM$cov_co

## ----include=F----------------------------------------------------------------
surv.psc <- pscfit(gemCFM,e4_data)

## -----------------------------------------------------------------------------
attributes(surv.psc)

## -----------------------------------------------------------------------------
plotCFM(surv.psc)

## -----------------------------------------------------------------------------
summary(surv.psc)

## -----------------------------------------------------------------------------
plot(surv.psc)

Try the psc package in your browser

Any scripts or data that you put into this service are public.

psc documentation built on June 8, 2026, 5:06 p.m.