check_columns: Check if the primary accelerometer file is formatted...

Description Usage Arguments Examples

View source: R/Read_Raw_Utils.R

Description

check_columns returns a logical scalar indicating whether there is a formatting issue with the file passed as the argument. A value of TRUE indicates the test has passed, whereas FALSE indicates an issue.

Usage

1

Arguments

file

A character scalar giving path to primary accelerometer file

skip

Header length: Number of rows to skip when reading the file

...

Arguments passed to read.csv

Examples

1
2
3
4
5
6
7
raw_file <-
    system.file("extdata",
    "exampleRAW.csv",
    package = "AGread")

col_check <- check_columns(raw_file, skip = 10)
head(col_check)

AGread documentation built on Feb. 26, 2020, 5:12 p.m.