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 41 42 43 44 45
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/isTypeString.R
\name{isTypeString}
\alias{isTypeString}
\alias{isNumericTypeString}
\alias{isIntegerTypeString}
\alias{isCharacterTypeString}
\alias{isDiscreteTypeString}
\alias{isLogicalTypeString}
\alias{isVectorTypeString}
\title{Check if type string is of certain type.}
\usage{
isNumericTypeString(type, include.int = TRUE)
isIntegerTypeString(type)
isCharacterTypeString(type)
isDiscreteTypeString(type, include.logical = TRUE)
isLogicalTypeString(type)
isVectorTypeString(type)
}
\arguments{
\item{type}{(\code{character(1)})\cr
Type string.}
\item{include.int}{(\code{logical(1)})\cr
Are integers also considered to be numeric?
Default is \code{TRUE}.}
\item{include.logical}{(\code{logical(1)})\cr
Are logicals also considered to be discrete?
Default is \code{TRUE}.}
}
\value{
(\code{logical(1)})
}
\description{
\code{TRUE} iff the type string is a certain type, e.g.
\code{isIntegerTypeString} checks if we have \dQuote{integer} or
\dQuote{integervector}, and \code{isVectorTypeString} check if we have
\dQuote{*vector}.
}
|