File: cell_addr.Rd

package info (click to toggle)
r-cran-cellranger 1.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 324 kB
  • sloc: makefile: 2
file content (40 lines) | stat: -rw-r--r-- 1,071 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cell-addr.R
\name{cell_addr}
\alias{cell_addr}
\title{cell_addr class}
\usage{
cell_addr(row, col)
}
\arguments{
\item{row}{integer. Must be the same length as \code{col} or of length one,
which will be recycled to the length of \code{col}.}

\item{col}{integer. Same deal as for \code{row}.}
}
\value{
a \code{cell_addr} object
}
\description{
The \code{cell_addr} class is used to hold the absolute row and column
location for one or more cells. An object of class \code{cell_addr} is a list
with two components of equal length, named \code{row} and \code{col},
consisting of integers greater than or equal to one or \code{NA}. This is in
contrast to the \code{\link{ra_ref}} class, which holds a representation of a
single absolute, relative, or mixed cell reference from, e.g., a formula.
}
\section{Reference}{


Spreadsheet Implementation Technology: Basics and Extensions
Peter Sestoft
MIT Press 2014
}
\examples{
cell_addr(4, 3)
(ca <- cell_addr(1:4, 3))
ca[2:3]
ca[[4]]
length(ca)
}