| User: editor -- 2010-09-06 << 604 606 >> |
| Hits: 3272 |
| Type: Count and statistics |
| Search all Count and statistics examples |
| Description: |
| How to count the number of ( A )...( F ) from a text file of survey? |
| Input Sample: |
| 1...... user selection is ( B ) A..... B..... C..... D..... E..... F..... 2...... user selection is ( C ) A..... B..... C..... D..... E..... F..... .... |
| Output Sample: |
| ( A ) : 238 ( B ) : 190 ( C ) : .. ... ( F ) : .. |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open the text file that contain survey data 2. open "Tools->Pattern Counter" menu * click "Clear" button to clear any default pattern * click "Add": fill "Name" as fill "Pattern" as: click "OK" * make sure "Regular Exp" option is checked. 3. select the newly added record, and click "Detail", all items will be listed with detailed numbers. |
Screenshot 1: Pattern_Counter_Window |