Learn R Programming

kineticF (version 1.0)

preprocess.octopus: Octopus data cleaner

Description

Transforms text strings into coordinate values by isopters, one subject at a time. NOTE: For this function to run, a demographics file must exist (columns: Study ID No, Eye, Sex, Age, Quality of test). Only subjects with values on at least Study ID No and Eye can be processed.

Usage

preprocess.octopus(octopus.file, octopus.demogr = Octopus.demogr)

Arguments

octopus.file
name of the matrix containing individual raw data text string
octopus.demogr
name of the demographics matrix

Value

Matrix of coordinates and isopter values

Examples

Run this code

## For example, import raw data with:
# M0001Oraw<- paste(scan("C:\\Data\\Octopus_raw\\M0001.txt", sep=';', what=''), collapse=';')

preprocess.octopus(M0001Oraw)


Run the code above in your browser using DataLab