RInside Version 0.2.10
DensityApp Class Reference
Collaboration diagram for DensityApp:

List of all members.

Public Member Functions

 DensityApp (const WEnvironment &env, RInside &R)
 DensityApp (const WEnvironment &env, RInside &R)

Private Types

enum  Kernel {
  Gaussian = 0, Epanechnikov = 1, Rectangular = 2, Triangular = 3,
  Cosine = 4, Gaussian = 0, Epanechnikov = 1, Rectangular = 2,
  Triangular = 3, Cosine = 4
}
enum  Kernel {
  Gaussian = 0, Epanechnikov = 1, Rectangular = 2, Triangular = 3,
  Cosine = 4, Gaussian = 0, Epanechnikov = 1, Rectangular = 2,
  Triangular = 3, Cosine = 4
}

Private Member Functions

void reportButton ()
void reportEdit ()
void reportSpinner ()
void plot ()
void reportButton ()
void reportEdit ()
void reportSpinner ()
void plot ()

Private Attributes

WLineEdit * codeEdit_
WButtonGroup * group_
WSpinBox * spin_
WImage * img_
WFileResource * imgfile_
WText * greeting_
RInsideR_
std::string tempfile_
int bw_
int kernel_
std::string cmd_
Rcpp::NumericVector Yvec_

Detailed Description

Definition at line 33 of file wtdensity.cpp.


Member Enumeration Documentation

enum DensityApp::Kernel [private]
Enumerator:
Gaussian 
Epanechnikov 
Rectangular 
Triangular 
Cosine 
Gaussian 
Epanechnikov 
Rectangular 
Triangular 
Cosine 

Definition at line 50 of file wtdensity.cpp.

enum DensityApp::Kernel [private]
Enumerator:
Gaussian 
Epanechnikov 
Rectangular 
Triangular 
Cosine 
Gaussian 
Epanechnikov 
Rectangular 
Triangular 
Cosine 

Definition at line 50 of file wtdensityPlain.cpp.


Constructor & Destructor Documentation

DensityApp::DensityApp ( const WEnvironment &  env,
RInside R 
)

Definition at line 63 of file wtdensity.cpp.

References bw_, cmd_, codeEdit_, Cosine, Epanechnikov, Gaussian, greeting_, group_, img_, imgfile_, kernel_, RInside::parseEval(), plot(), R_, Rectangular, reportButton(), reportEdit(), reportSpinner(), spin_, tempfile_, and Triangular.

Here is the call graph for this function:

DensityApp::DensityApp ( const WEnvironment &  env,
RInside R 
)

Member Function Documentation

void DensityApp::plot ( void  ) [private]

Definition at line 169 of file wtdensity.cpp.

References bw_, greeting_, imgfile_, kernel_, RInside::parseEvalQ(), R_, tempfile_, and Yvec_.

Referenced by DensityApp(), reportButton(), reportEdit(), and reportSpinner().

Here is the call graph for this function:

void DensityApp::plot ( ) [private]
void DensityApp::reportButton ( ) [private]

Definition at line 151 of file wtdensity.cpp.

References group_, kernel_, and plot().

Referenced by DensityApp().

Here is the call graph for this function:

void DensityApp::reportButton ( ) [private]
void DensityApp::reportEdit ( ) [private]

Definition at line 156 of file wtdensity.cpp.

References cmd_, codeEdit_, RInside::parseEvalQNT(), plot(), R_, and Yvec_.

Referenced by DensityApp().

Here is the call graph for this function:

void DensityApp::reportEdit ( ) [private]
void DensityApp::reportSpinner ( ) [private]

Definition at line 164 of file wtdensity.cpp.

References bw_, plot(), and spin_.

Referenced by DensityApp().

Here is the call graph for this function:

void DensityApp::reportSpinner ( ) [private]

Member Data Documentation

int DensityApp::bw_ [private]

Definition at line 55 of file wtdensity.cpp.

Referenced by DensityApp(), plot(), and reportSpinner().

std::string DensityApp::cmd_ [private]

Definition at line 56 of file wtdensity.cpp.

Referenced by DensityApp(), and reportEdit().

WLineEdit * DensityApp::codeEdit_ [private]

Definition at line 38 of file wtdensity.cpp.

Referenced by DensityApp(), and reportEdit().

WText * DensityApp::greeting_ [private]

Definition at line 43 of file wtdensity.cpp.

Referenced by DensityApp(), and plot().

WButtonGroup * DensityApp::group_ [private]

Definition at line 39 of file wtdensity.cpp.

Referenced by DensityApp(), and reportButton().

WImage * DensityApp::img_ [private]

Definition at line 41 of file wtdensity.cpp.

Referenced by DensityApp().

WFileResource * DensityApp::imgfile_ [private]

Definition at line 42 of file wtdensity.cpp.

Referenced by DensityApp(), and plot().

int DensityApp::kernel_ [private]

Definition at line 55 of file wtdensity.cpp.

Referenced by DensityApp(), plot(), and reportButton().

RInside & DensityApp::R_ [private]

Definition at line 53 of file wtdensity.cpp.

Referenced by DensityApp(), plot(), and reportEdit().

WSpinBox * DensityApp::spin_ [private]

Definition at line 40 of file wtdensity.cpp.

Referenced by DensityApp(), and reportSpinner().

std::string DensityApp::tempfile_ [private]

Definition at line 54 of file wtdensity.cpp.

Referenced by DensityApp(), and plot().

Rcpp::NumericVector DensityApp::Yvec_ [private]

Definition at line 57 of file wtdensity.cpp.

Referenced by plot(), and reportEdit().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Defines