4 Examples in this Book

All examples in this book are available so that you can run them yourselves. Two different approaches at accessing them are available.

4.1 Public version IQR Tools

Since we aim for CRAN submission the examples in this book are not included in the public version. CRAN is a bit limiting in terms of package size - but well - either you live with CRAN or without.

If you want to have access to the examples in this book with the public IQR Tools version - then you might want to consider using the publically and freely available version of IQdesktop. Installation of the examples then is done as follows:

# Load IQR Tools 
library("IQRtools")

# Copy example files to folder of choice
examples_IQRtools(path="~/IntiQuan")

# The above command also sets the working directory to the indicated path

4.2 Versioned IQR Tools

If you have access to a "versioned" version of IQR Tools that you have received directly from IntiQuan, then the examples are included in this version. Note that this is also the case when you have installed IQdesktop as a "versioned" version as then a "versioned" version of IQR Tools is already available.

Install the examples as indicated below:

# Load IQR Tools 
library("IQRtools")

# Copy example files to folder of choice
examples_IQRtools(path="~/IntiQuan")

# The above command also sets the working directory to the indicated path

Now you will be able to simply copy and paste example R code from this book to your R console and the examples will run on your computer.