Logo ROOT   6.14/05
Reference Guide
r Directory Reference

Files

file  DataFrame.C [code]
  View in nbviewer Open in SWAN
 
file  example.C [code]
  View in nbviewer Open in SWAN Simple example on how to use ROOT-R interface.
 
file  Function.C [code]
  View in nbviewer Open in SWAN
 
file  Functor.C [code]
  View in nbviewer Open in SWAN Example to create class Functor
 
file  GlobalMinimization.C [code]
  View in nbviewer Open in SWAN 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 [code]
  View in nbviewer Open in SWAN Numerical integration using R passing the function from ROOT
 
file  Interpolation.C [code]
  View in nbviewer Open in SWAN 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 [code]
  View in nbviewer Open in SWAN 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 [code]
  View in nbviewer Open in SWAN 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