r Directory Reference

## Files | |

file | DataFrame.C [code] |

| |

file | example.C [code] |

Simple example on how to use ROOT-R interface. | |

file | Function.C [code] |

| |

file | Functor.C [code] |

Example to create class Functor | |

file | GlobalMinimization.C [code] |

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] |

Numerical integration using R passing the function from ROOT | |

file | Interpolation.C [code] |

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] |

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] |

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 | |