read_3d: Read 3D csv files

Description Usage Arguments Value See Also Examples

Description

Read 3D csv files by SAS macro output.

Usage

1
read_3d(name, folder = "I:/Dropbox/1_STB Project/R scripts/Output 3D")

Arguments

name

A character string, the name of the csv file without ".csv".

folder

Where your folder locates

Value

Return the 3D data.frame

See Also

coe_gam

Examples

1
2
3
4
5
6
7
8
## The function is currently defined as
function (name, folder = "I:/Dropbox/1_STB Project/R scripts/Output 3D") 
{
    eval(parse(text = paste("data <- read.csv(\"", folder, "/", 
        name, ".csv\", header=TRUE)", sep = "")))
    data[data <= 0] = NA
    return(data)
  }

fzwaeustc/pcrfn documentation built on May 16, 2019, 4:06 p.m.