[go: up one dir, main page]

File: is_A1.Rd

package info (click to toggle)
r-cran-cellranger 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324 kB
  • sloc: makefile: 2
file content (35 lines) | stat: -rw-r--r-- 696 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/A1-R1C1-regex-utils.R
\name{is_A1}
\alias{is_A1}
\alias{is_R1C1}
\title{Test cell reference strings}
\usage{
is_A1(x)

is_R1C1(x)
}
\arguments{
\item{x}{character vector of cell reference strings}
}
\value{
a logical vector
}
\description{
Test cell reference strings for a specific format.
}
\section{Functions}{
\itemize{
\item \code{is_A1}: A1 format, case insenstive; relative, absolute, or mixed

\item \code{is_R1C1}: R1C1 format; relative, absolute, or mixed
}}
\examples{
is_A1("A1")
is_R1C1("A1")
is_R1C1("R4C12")

x <- c("A1", "$A4", "$b$12", "RC1", "R[-4]C9", "R5C3")
data.frame(x, is_A1(x), is_R1C1(x))
}