{
  "name": "R sequence specification and validation crosswalk",
  "description": "Original crosswalk compiled from R Core function references, comparing controlling inputs and validation properties for numeric grids, grouped runs, dates, repeated labels and vector positions. Describes documented interfaces; it contains no observed research measurements.",
  "page": "https://casrai.org/guides/sequence-function-in-r",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-17T10:53:53Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Construction",
      "unit": "",
      "description": ""
    },
    {
      "name": "Controlling inputs",
      "unit": "",
      "description": ""
    },
    {
      "name": "Property to validate",
      "unit": "",
      "description": ""
    },
    {
      "name": "Official reference",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Construction": "Numeric run by increment",
      "Controlling inputs": "seq: from, to, by",
      "Property to validate": "Step direction agrees with endpoint direction; fixed increments may stop short of to.",
      "Official reference": "Sequence Generation"
    },
    {
      "Construction": "Numeric run by point count",
      "Controlling inputs": "seq: from, to, length.out",
      "Property to validate": "Requested number of equally spaced values spans the supplied endpoints.",
      "Official reference": "Sequence Generation"
    },
    {
      "Construction": "Concatenated integer runs",
      "Controlling inputs": "sequence: nvec, from, by",
      "Property to validate": "nvec specifies each run length; from and by are integer-coerced and recycled across runs.",
      "Official reference": "Create A Vector of Sequences"
    },
    {
      "Construction": "Calendar-date run",
      "Controlling inputs": "seq with Date input: by, length.out",
      "Property to validate": "Numeric by means days; named day/week/month/quarter/year units are accepted; result retains Date class.",
      "Official reference": "Generate Regular Sequences of Dates"
    },
    {
      "Construction": "Group labels from counts",
      "Controlling inputs": "rep: input labels, vector times",
      "Property to validate": "Each label is repeated by its corresponding non-negative count when times matches the input length.",
      "Official reference": "Replicate Elements of Vectors and Lists"
    },
    {
      "Construction": "Positions of existing vector",
      "Controlling inputs": "seq_along: along.with",
      "Property to validate": "Output counts positions according to input length; an empty input produces no positions.",
      "Official reference": "Sequence Generation"
    }
  ],
  "sources": [
    {
      "title": "R: Sequence Generation",
      "url": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/seq.html",
      "accessed": "2026-11-17"
    },
    {
      "title": "R: Create A Vector of Sequences",
      "url": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/sequence.html",
      "accessed": "2026-11-17"
    },
    {
      "title": "R: Generate Regular Sequences of Dates",
      "url": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/seq.Date.html",
      "accessed": "2026-11-17"
    },
    {
      "title": "R: Replicate Elements of Vectors and Lists",
      "url": "https://stat.ethz.ch/R-manual/R-patched/library/base/html/rep.html",
      "accessed": "2026-11-17"
    }
  ]
}