Skip to contents

Create smaller versions of the example files

Usage

createExampleFilesSmall(
  parts = c(2, 4, 8, 16),
  version = c("unix", "unix_home", "win32", "win32_kwb")[ifelse(kwb.utils::.OStype() ==
    "unix", 1, 3)],
  types = c("obs", "predict0", "predict1", "predict2", "iff"),
  targetdir = NULL
)

Arguments

parts

vector of integer determining the parts of the files to be created: 2 = first half, 3 = first third, ..., 10 = first 10 percent, etc.

version

one of c("unix", "unix_home", "win32", "win32_kwb")

types

vector of file types to be created. See the default assignment for possible items

targetdir

full path to the target directory in which to put the files. By default the files go into the package's example directory related to the selected version.

Examples

if (FALSE) kwbGompitz:::createExampleFilesSmall(c(2, 4, 10))