datacheck: datacheck A function to check if the file contains certain...

View source: R/datacheck.R

datacheckR Documentation

datacheck A function to check if the file contains certain wrong character types

Description

datacheck A function to check if the file contains certain wrong character types

Usage

datacheck(input, character = "[^0-9[:space:]]", field = "1-")

Arguments

input

the input file dir

character

the character types regular expression i.e. '[^0-9]'

field

the field to be kept, default for all

Value

0 pass 1 error

datacheck(genolik,'[^0-9[:space:]]','2-')


lycium0605/rLCLAE documentation built on Aug. 28, 2024, 11:35 p.m.