Example Data and Scripts

Jana Welling

2026-09-23

To help you getting started with scaling using NEPSroutines, the package provides example data and scripts.

Example data

NEPSroutines contains example data sets that correspond to different test designs. In the current package version, this includes:

You can access the data once you have loaded NEPSroutines.

To load the data into your current R environment, type:

data("dat1") # for loading dat1
data("dat2") # for loading dat2
data("dat3") # for loading dat3
data("dat4") # for loading dat4

Each file is a list containing the two data sets resp and vars. For each file, documentation including a description of all variables exists. You can access it with:

?dat1 # for documentation of dat1
?dat2 # for documentation of dat2
?dat3 # for documentation of dat3
?dat4 # for documentation of dat4

Example scripts

For each data set, an example scaling script in RMD (R Markdown) format and its HTML output reporting the results are available. Please note that the example scripts don’t include data preparation in this package version.

You can get a list of all available scripts and outputs with:

directory <- system.file("examples", package = "NEPSroutines")
list.files(directory)

You can access RMD files by changing “my_file.Rmd” to the corresponding file name:

file.edit(system.file("examples", "my_file.Rmd", package = "NEPSroutines"))

And access HTML files by changing “my_file.html” to the corresponding file name:

browseURL(system.file("examples", "my_file.html", package = "NEPSroutines"))