Learn R Programming

JAMES Analysis R Package

The JAMES analysis R package is part of the JAMES framework. This R package is used to analyze and visualize results obtained using the analysis tools from the extensions module.

Install

The package is available on CRAN. It can be installed with:

install.packages("james.analysis")

To load the package after installation:

library(james.analysis)

Documentation

Use data <- readJAMES("path/to/file") the load a JSON file in R that was created using the analysis tools from the JAMES extensions module (in Java). An object of class james is returned. Run summary(data) to summarize the results, or mergeJAMES and reduceJAMES to manipulate them.

To extract data, the following functions are provided:

  • getProblems
  • getSearches
  • getSearchRuns
  • getNumSearchRuns
  • getBestSolutions
  • getBestSolutionValues
  • getConvergenceTimes

To visualize the results, use:

  • plotConvergence
  • boxplot

Detailed documentation is provided for each function and can be accessed by typing ?function, as usual. To view the help file for the box plots, type ?boxplot.james (this is an implementation of the S3 method boxplot from the standard graphics package for class james).

Examples

Some examples are included in the help files of the available functions. More extensive examples of how to analyze the results will soon be provided at the website.

License and copyright

The JAMES analysis R package is licensed under the MIT License, see http://www.r-project.org/Licenses/MIT. Copyright information is stated in the LICENSE file.

User forum

Users may post questions on the forum. Instructions for participating without a Google account are available at the website.

Developers

The JAMES framework is developed and maintained by

Please use the forum instead of directly mailing the developers whenever possible, so that others may benefit from or contribute to the discussion as well.

Changes

A list of changes is provided in the NEWS file.

Copy Link

Version

Install

install.packages('james.analysis')

Monthly Downloads

12

Version

1.0.1

License

MIT + file LICENSE

Maintainer

Herman De Beukelaer

Last Published

June 18th, 2015

Functions in james.analysis (1.0.1)

mergeJAMES

Merge analysis results
plotConvergence

Plot convergence curves
james.analysis

Analysis Tools for the 'JAMES' Framework.
boxplot.james

Solution quality and convergence time box plots
getSearchRuns

Get search run data
getProblems

Get names of analyzed problems
getNumSearchRuns

Get number of applied search runs
getConvergenceTimes

Get convergence times
getSearches

Get names of applied searches
readJAMES

Read analysis results from JSON file
getBestSolutionValues

Get values of best found solutions
reduceJAMES

Reduce analysis results to selected problems and searches
getBestSolutions

Get best found solutions
james

Results of example algorithm comparison