Logo ROOT   6.10/00
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Files
R tutorials

Examples showing the R interface.

Files

file  DataFrame.C
 
file  example.C
 Simple example on how to use ROOT-R interface.
 
file  Function.C
 
file  Functor.C
 Example to create class Functor.
 
file  GlobalMinimization.C
 Example based in http://cran.r-project.org/web/packages/DEoptim/DEoptim.pdf Please install the R package DEoptim before run this example.
 
file  Integration.C
 Numerical integration using R passing the function from ROOT.
 
file  Interpolation.C
 More Information for R interpolation in http://stat.ethz.ch/R-manual/R-patched/library/stats/html/approxfun.html NOTE: this example illustrates an interpolation with random points given from ROOT and procedures made in R's environment.
 
file  Minimization.C
 Example based in http://root.cern.ch/root/html/tutorials/fit/NumericalMinimization.C.html http://stat.ethz.ch/R-manual/R-devel/library/stats/html/optim.html.
 
file  SimpleFitting.C
 Create an exponential fitting The idea is to create a set of numbers x,y with the function x^3 and some noise from ROOT, fit the function to get the exponent (which must be near 3) and plot the points with noise, the known function and the fitted function.