Learn R Programming

ProTrackR2 (version 0.1.1)

pt2_validate: Validate ProTrackR2 S3 class objects

Description

Check aspects of S3 class objects for validity. For samples for instance it is checked if all parameters (volume, finetune, etc.) are within ProTracker specifications.

Usage

pt2_validate(x, ...)

# S3 method for pt2samp pt2_validate(x, ...)

Value

A logical value indicating whether the object is valid or not

Arguments

x

object to be validated

...

Ignored

Author

Pepijn de Vries

Examples

Run this code
mod <- pt2_read_mod(pt2_demo())

pt2_validate(mod$samples[[1]])

Run the code above in your browser using DataLab