suq2.utils.createDataset: Create a multidimentional array with simulations form a set...

Description Usage Arguments Author(s) Examples

View source: R/gld_fit.R

Description

This function read all the csv that are stored in a directory and create an NxMxS array, where N and M are sparial dimensions and S is the number of simulations on each spatial point.

Usage

1
suq2.utils.createDataset(directory, pattern, dimension)

Arguments

directory

the directory where the .csv files are stored.

pattern

a pattern to read the .csv (e.g. pattern="^[h]").

dimension

the dimensions to be used, NxMxS.

Author(s)

Noel Moreno Lemus

Examples

1
2
3
4
directory = "~/PhD/thesis_phd/python_codes/datasets/20"
pattern="^[h]"
dimension = c(60, 60, 500)
mArray <- suq2.utils.createDataset(directory, pattern, dimension)

nmlemus/suq2 documentation built on May 30, 2019, 5 a.m.