prepare.kinmap: Read in a kinematic map from file

Description Usage Arguments Value Author(s) Examples

Description

This function reads in a kinematic map from a file and returns it as class "kinmap".

Usage

1

Arguments

file

name of a file containing a kinematic map in the form of a data table

Value

an object of class kinmap, which is essentially a data.frame.

Author(s)

Oliver Czoske

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function(file){

    kinmap <- read.table(file, header=TRUE)
    class(kinmap) <- c("kinmap", class(kinmap))
    invisible(kinmap)
  }

oczoske/slacR documentation built on May 20, 2019, 8:23 p.m.