Learn R Programming

openCR (version 2.2.6)

strata: Stratum names

Description

Extract or replace the stratum names of a capthist object.

Usage

strata(object, ...)
strata(object) <- value

Value

a character vector with one value for each session in capthist.

Arguments

object

object with `stratum' attribute e.g. capthist

value

character vector or vector that may be coerced to character, one value per stratum

...

other arguments (not used)

Details

Replacement values will be coerced to character.

See Also

openCR.fit, session, stratify

Examples

Run this code
  # artificial example, treating years as strata
  strata(ovenCH)

Run the code above in your browser using DataLab