Learn R Programming

mmstat4 (version 0.2.0)

ghpath: ghpath

Description

Returns a path for files based on ghdecompose.

Usage

ghpath(df, from = c("outpath", "inpath", "minpath", "filename"))

Value

a character vector with file pathes

Arguments

df

data frame: returned from ghdecompose

from

character: either inpath (default), outpath, minpath, or filename

Examples

Run this code
ghget("dummy")
pdf <- ghdecompose(ghlist(full.names=TRUE))
ghpath(pdf)
ghpath(pdf, 'o') # equals the input to ghdecompose
ghpath(pdf, 'i')
ghpath(pdf, 'm')
ghpath(pdf, 'f')

Run the code above in your browser using DataLab