12 #include<Rcpp/Vector.h> 26 std::vector<Double_t> vec =::Rcpp::as<std::vector<Double_t> >(
v);
38 std::vector<Float_t> vec =::Rcpp::as<std::vector<Float_t> >(
v);
49 NumericMatrix mat(rows, cols, data);
55 NumericMatrix mat =::Rcpp::as<NumericMatrix>(
m);
65 NumericMatrix mat(rows, cols, data);
71 NumericMatrix mat =::Rcpp::as<NumericMatrix>(
m);
72 std::vector<Float_t> dat = Rcpp::as<std::vector<Float_t>>(mat);
Namespace for new ROOT classes and functions.
VARIABLE_IS_NOT_USED SEXP ModuleSymRef
SEXP wrap(const TString &s)
Element * GetMatrixArray()
TRDataFrame(const T1 &t1)
This is a class to get ROOT's objects from R's objects
This is a class to pass functions from ROOT to R.
virtual void GetMatrix2Array(Element *data, Option_t *option="") const
Copy matrix data to array .
Int_t GetNoElements() const
This is a class to support deprecated method to pass function to R's Environment, based in Rcpp::Inte...
Rcpp::internal::NamedPlaceHolder Label
This is a class to create DataFrames from ROOT to R