ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
bindings
r
src
TRDataFrame.cxx
Go to the documentation of this file.
1
/*************************************************************************
2
* Copyright (C) 2013-2015, Omar Andres Zapata Mesa *
3
* All rights reserved. *
4
* *
5
* For the licensing terms see $ROOTSYS/LICENSE. *
6
* For the list of contributors see $ROOTSYS/README/CREDITS. *
7
*************************************************************************/
8
#include<
TRDataFrame.h
>
9
10
11
using namespace
ROOT::R
;
12
ClassImp
(
TRDataFrame
)
13
14
15
//______________________________________________________________________________
16
TRDataFrame
::
TRDataFrame
():
TObject
()
17
{
18
df = Rcpp::DataFrame::create();
19
}
20
21
//______________________________________________________________________________
22
TRDataFrame::TRDataFrame
(
const
TRDataFrame
&_df):
TObject
(_df)
23
{
24
df
= _df.
df
;
25
}
26
27
//______________________________________________________________________________
28
TRDataFrame::Binding
TRDataFrame::operator[]
(
const
TString
&
name
)
29
{
30
return
Binding
(
df
, name);
31
}
ClassImp
ClassImp(TRDataFrame) TRDataFrame
Definition:
TRDataFrame.cxx:12
ROOT::R::TRDataFrame::TRDataFrame
TRDataFrame()
Default TDataFrame constructor.
TString
Basic string class.
Definition:
TString.h:137
ROOT::R::TRDataFrame::operator[]
Binding operator[](const TString &name)
Definition:
TRDataFrame.cxx:28
Binding
void Binding()
Definition:
Binding.C:21
ROOT::R::TRDataFrame::df
Rcpp::DataFrame df
Definition:
TRDataFrame.h:187
TRDataFrame.h
name
#define name(a, b)
Definition:
linkTestLib0.cpp:5
TObject
Mother of all ROOT objects.
Definition:
TObject.h:58
ROOT::R::TRDataFrame::Binding
Definition:
TRDataFrame.h:190
R
TRandom3 R
a TMatrixD.
Definition:
testIO.cxx:28
ROOT::R::TRDataFrame
This is a class to create DataFrames from ROOT to R
Definition:
TRDataFrame.h:183