- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 직접 링크 가져오기
- 인쇄
- 부적절한 컨텐트 신고
요약 테이블의 열 이름을 바꾸는 방법은 무엇입니까?
안녕하세요 여러분,
요약 테이블이 하나 있는데 요약 테이블의 하나 또는 두 개의 열 이름을 바꾸고 싶습니다.
내 스크립트는 다음과 같습니다.
ST_NEW = dt << Summary(
Group( :prodgroup3, :link_id, :complevel_1, :test_or_bond_head_id, :bondstage ),
Mean( :align_ratio_2 ) << Name( "align " ),
Std Dev( :align_ratio_2 ),
Output Table Name( "ST_NEW" ),
);
동그라미 친 열의 이름을 새 이름으로 바꾸고 싶습니다.
아무도이 문제를 해결하는 데 도움이 될 수 있습니까?
감사합니다,
원래 English (US) 로 작성된 이 게시물은 귀하의 편의를 위해 번역되었습니다. 답장을 보내면 English (US) 로 다시 번역됩니다.
3 응답 3
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 직접 링크 가져오기
- 인쇄
- 부적절한 컨텐트 신고
Re: 요약 테이블의 열 이름을 바꾸는 방법은 무엇입니까?
2 문제가 있습니다.
- 기본적으로 생성된 요약 데이터 테이블은 원래 테이블에 연결되어 테이블을 강제로 잠급니다.이 기본값은 무시해야 합니다.
- 새 테이블이 생성된 후에 열 이름을 변경해야 합니다.
Names Default To Here( 1 );
// Open Data Table: big class.jmp
// → Data Table( "big class" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );
ST_NEW = dt << Summary(
Group( :sex ),
Mean( :height ),
Std Dev( :height ),
Output Table Name( "ST_NEW" ),
link to original data table( 0 )
);
ST_NEW:"Mean(height)"n << set name( "align" );
원래 English (US) 로 작성된 이 게시물은 귀하의 편의를 위해 번역되었습니다. 답장을 보내면 English (US) 로 다시 번역됩니다.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 직접 링크 가져오기
- 인쇄
- 부적절한 컨텐트 신고
Re: How to rename column of summary table?
If being linked to the original table is important (you want to select a row in the summary and have relevant rows in the original table be selected, for example) you could make a new column with the name you are looking for and then hide the original:
Names default to here(1);
dt = Open( "$SAMPLE_DATA/big class.jmp" );
ST_NEW = dt << Summary(
Group( :sex ),
Mean( :height ),
Std Dev( :height ),
Output Table Name( "ST_NEW" )
);
ST_NEW << New Column("align", Numeric, "Continuous", Format("Best", 12), Formula(:"Mean(height)"n));
ST_NEW:"Mean(height)"n << Hide( 1 );
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 직접 링크 가져오기
- 인쇄
- 부적절한 컨텐트 신고
Re: How to rename column of summary table?
you can also rename those stat columns with the drop down in below menu ...