mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-21 14:09:08 +02:00
support labelled data
This commit is contained in:
parent
5926c12da6
commit
2aa268f747
13 changed files with 188 additions and 65 deletions
23
man/possibly_numeric.Rd
Normal file
23
man/possibly_numeric.Rd
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/as_factor.R
|
||||
\name{possibly_numeric}
|
||||
\alias{possibly_numeric}
|
||||
\title{Tests if vector can be interpreted as numeric without introducing NAs by
|
||||
coercion}
|
||||
\usage{
|
||||
possibly_numeric(data)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{vector}
|
||||
}
|
||||
\value{
|
||||
logical
|
||||
}
|
||||
\description{
|
||||
Tests if vector can be interpreted as numeric without introducing NAs by
|
||||
coercion
|
||||
}
|
||||
\examples{
|
||||
c("1","5") |> possibly_numeric()
|
||||
c("1","5","e") |> possibly_numeric()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue