Package dao

Examples of dao.RObjectViewportTable


            Helper.ok(command);
            RObject isop2set = new RObject(rVarName, command);
           
            if (compRepAndRepOptPanel.getTablePanel().isSelected()) {
             
                RObjectViewportTable isop2settab = new RObjectViewportTable(compRepAndRepOptPanel.getTablePanel().getLabel(),
                    isop2set);
               
                TableSweaveTag tabswvtag;
          if (compRepAndRepOptPanel.isInReport()) {
            tabswvtag = new TableSweaveTag(isop2settab);
View Full Code Here


      //  isop.testItems(dat[c(1:3)])[,c(1,2)]
            RObject isopTestItems = new RObject(rVarName, command+"[," + rvPanel.getReturnIndices() +"]" );

            if (compRepAndRepOptPanel.getTablePanel().isSelected()) {
             
                RObjectViewportTable isopTestItemstab = new RObjectViewportTable(compRepAndRepOptPanel.getTablePanel().getLabel(),
                    isopTestItems);
               
                TableSweaveTag tabswvtag;
        if (compRepAndRepOptPanel.isInReport()) {
          tabswvtag = new TableSweaveTag(isopTestItemstab);
View Full Code Here

         
            RObject isopW1 = new RObject(rVarName, "isop.W12(" + is.getRString() +" , type=1 , showWi="+ (chk_showWi.isSelected()?"TRUE":"FALSE") + ")");

            if (compRepAndRepOptPanel.getTablePanel().isSelected()) {
             
                RObjectViewportTable isopW1tab = new RObjectViewportTable(compRepAndRepOptPanel.getTablePanel().getLabel(),
                    isopW1);
               
                TableSweaveTag tabswvtag;
        if (compRepAndRepOptPanel.isInReport()) {
          tabswvtag = new TableSweaveTag(isopW1tab);
View Full Code Here

          String rVarName = dao.Controller.fitRVarName("isopW2");
               
          RObject isopW2 = new RObject(rVarName, "isop.W12(" + is.getRString() +" , type=2 , showWi="+ (chk_showWi.isSelected()?"TRUE":"FALSE") + ")");
            if (compRepAndRepOptPanel.getTablePanel().isSelected()) {
             
                RObjectViewportTable isopW2tab = new RObjectViewportTable(compRepAndRepOptPanel.getTablePanel().getLabel(),
                    isopW2);
               
                TableSweaveTag tabswvtag;
        if (compRepAndRepOptPanel.isInReport()) {
          tabswvtag = new TableSweaveTag(isopW2tab);
View Full Code Here

               
            RObject sysch = new RObject(rVarName, "isop.sysch(" + is.getRString() + ")");

            if (compRep2d3dtabOptPanel.getTablePanel().isSelected()) {
             
                RObjectViewportTable syschtab = new RObjectViewportTable(compRep2d3dtabOptPanel.getTablePanel().getLabel(),
                        sysch);
               
                TableSweaveTag tabswvtag;
        if (compRep2d3dtabOptPanel.isInReport()) {
          tabswvtag = new TableSweaveTag(syschtab);
View Full Code Here

     
            RObject isop1set = new RObject(rVarName,  command+"[" + rvPanel.getReturnIndices() + "]");
           
            if (compRepAndRepOptPanel.getTablePanel().isSelected()) {
             
                RObjectViewportTable isop1settab = new RObjectViewportTable(compRepAndRepOptPanel.getTablePanel().getLabel(),
                    isop1set);
               
                TableSweaveTag tabswvtag;
        if (compRepAndRepOptPanel.isInReport()) {
          tabswvtag = new TableSweaveTag(isop1settab);
View Full Code Here

    }
    protected void startDemoActionPerformed(ActionEvent evt) {
      String curDir = System.getProperty("user.dir").replace('\\', '/');

      log.info("DEMO START");
    RObjectViewportTable datafile = new RObjectViewportTable(dao.Controller.fitName("CONS.DAT"),
      new RObject(dao.Controller.fitRVarName("CONS.DAT"), "read.table(\"" + curDir +  "/example/cons.dat\")"));
  dao.Controller.addDataFile(datafile, true, true, true);
 
    RObject sysch = new RObject(dao.Controller.fitRVarName("sysch"), "isop.sysch(" + datafile.getAttachedRObject().getRVarName() + ")");
    RObjectViewportTable syschtab = new RObjectViewportTable(dao.Controller.fitName("sysch") ,
            sysch);
    dao.Controller.addTable(syschtab, true, true,
            new TableSweaveTag(syschtab));
  log.info("DEMO END");

        dao.Controller.addPlot(
            new RObjectViewportPlotSysch3D( dao.Controller.fitName("sysch3Dplot"), sysch), true, false,
            false, null);
    dao.Controller.addPlot(
            new RObjectViewportPlotSyschFreq( dao.Controller.fitName("syschfreqplot"),
                sysch),
                false, false, false, null);
   
    RCommand.eval("library(psy)");
    dao.Controller.addPlot(
            new RObjectViewportPlotScree( dao.Controller.fitName("screeplot"),
                datafile.getAttachedRObject(), 1),
                false, false, false, null);
   
    dao.Controller.addPlot(
            new RObjectViewportPlotSphpca( dao.Controller.fitName("mysphpca"),
                datafile.getAttachedRObject()),
                false, false, false, null);

    dao.Controller.addPlot(
            new RObjectViewportPlotMdspca( dao.Controller.fitName("mymdspca"),
                datafile.getAttachedRObject()),
                false, false, false, null);
   
    dao.Controller.addPlot(
            new RObjectViewportPlotMdspca( dao.Controller.fitName("mymdspca"),
                datafile.getAttachedRObject(), 1, 6),
                false, false, false, null);

   
    RObject icc = new RObject(dao.Controller.fitRVarName("icc_" + datafile.getAttachedRObject().getRVarName()), "icc(" + datafile.getAttachedRObject().getRVarName() + ")");
    RObjectViewportTable icctab = new RObjectViewportTable(dao.Controller.fitName(icc.getRVarName() + "_table") ,
        icc);
    dao.Controller.addTable(icctab, true, true,
            new TableSweaveTag(icctab));
           
    }
View Full Code Here

TOP

Related Classes of dao.RObjectViewportTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.