设为首页收藏本站

JMP数据分析论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 1266|回复: 5
打印 上一主题 下一主题

如何实现一键自动化分析

  [复制链接]
跳转到指定楼层
楼主
发表于 2017-4-12 23:37:05 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 wangtian4625 于 2017-4-12 23:37 编辑

各位分析大神:
最近在用JSL做自动分析遇到一个问题 :
如何把打开文件和 应用程序进行合并实现 一键式分析

下面 是我使用的 JSL, 但是系统一直报告错误。
Open(
"C:\Users\wang tianyuan\Desktop\Clips1.xls",
工作表( "Clips1" ),
Use for all sheets( 1 ),
Concatenate Worksheets( 0 ),
Create Concatenation Column( 0 ),
Worksheet Settings(
  1,
  Has Column Headers( 1 ),
  Number of Rows in Headers( 1 ),
  Headers Start on Row( 2 ),
  Data Starts on Row( 3 ),
  Data Starts on Column( 1 ),
  Data Ends on Row( 0 ),
  Data Ends on Column( 0 ),
  Replicated Spanned Rows( 1 ),
  Replicated Spanned Headers( 0 ),
  Suppress Hidden Rows( 1 ),
  Suppress Hidden Columns( 1 ),
  Suppress Empty Columns( 1 ),
  Treat as Hierarchy( 0 ),
  Multiple Series Stack( 0 ),
  Import Cell Colors( 0 ),
  Limit Column Detect( 0 ),
  Column Separator String( "-" )
)
)

JMP App(
Set Name( "应用程序" ),
Set Description(
  "An empty workspace for creating custom applications with one or more windows and scripts"
),
Auto Launch( 1 ),
Snap To Grid( 1 ),
Show Grid( 1 ),
Show Properties( 0 ),
Show Sources( 1 ),
Group By Category( 1 ),
Dashboard Mode( 0 ),
Parameters,
Tables,
Script(JSL Quote(// This script is executed when the application is run.
// Named objects have been created for the application modules
// (for example, "Module1") and the pre-defined object
// "thisApplication" refers to the application object itself.
// Variables and functions declared here are scoped to the
// Application namespace.

) ),
Allocate(
  Module1 = Plan(
   PreAllocate,
   Script(JSL Quote(// This script is executed when a new module instance is
// created.  The pre-defined object "thisModuleInstance" refers
// to the instance object, but other objects such as boxes and
// scripts have not yet been created.  Variables declared here are
// scoped to the ModuleInstance namespace.

// This special function will receive parameters passed to CreateInstance()
OnModuleLoad({},
);

thisModuleInstance << Create Objects;

// After this point your module instance objects have been created
// and can be referred to by name (for example, "Button1").

)   ),
   Allocate(
    Report2 = Platform(
     Current Data Table(),
     Control Chart(
      Sample Label( :Status ),
      Sample Size( 5 ),
      KSigma( 3 ),
      Moving Average Span( 2 ),
      Chart Col( :Gap, UWMA )
     )
    );
    Report1 = Platform(
     Current Data Table(),
     Control Chart(
      Sample Label( :Status ),
      Sample Size( 5 ),
      KSigma( 3 ),
      Weight( 0.2 ),
      Chart Col( :Gap, EWMA )
     )
    );
   ),
   Organize(
    Relocate( Report1( 0, 10 ) );
    Relocate( Report2( 550, 10 ) );
   ),
   Initialize( Glue() )
  )
),
Initialize(
  Module1 << Auto Launch( 1 );
  Module1 << Set Module Type( "Report" );
  Module1 << Set Window Title( "^TABLENAME - ^APPNAME" );
  Module1 << Set Min Size( 0, 0 );
  Module1 << Set Max Size( 30000, 30000 );
  Module1 << Set Auto Stretching( ., . );
)
) << RUN


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
分享到:  !connect_viewthread_share_to_qq!!connect_viewthread_share_to_qq! QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 转播转播 分享分享 分享淘帖 支持支持 反对反对
回复

使用道具 举报

沙发
发表于 2017-4-13 11:54:43 | 只看该作者
不妨参考如下连接中附件的方法介绍,您将体会到JMP一键式分析的简捷与高效。
http://www.jmpforum.net/forum.ph ... thread&tid=3163
回复 支持 反对

使用道具 举报

板凳
发表于 2017-4-13 11:59:40 | 只看该作者
附图是依据您提供的原始数据做出的一键式分析图,供参考。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

地板
发表于 2017-4-18 09:29:49 | 只看该作者
rocluo5566 发表于 2017-4-13 11:54
不妨参考如下连接中附件的方法介绍,您将体会到JMP一键式分析的简捷与高效。
http://www.jmpforum.net/for ...

这个是你的强项
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|JMP数据分析论坛 ( 沪ICP备13022603号-2 )  

GMT+8, 2024-5-3 09:19 , Processed in 0.407450 second(s), 16 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表