Skip to content

Commit 9c71aec

Browse files
authored
Update README.md
1 parent 2cc1015 commit 9c71aec

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ ______
1414
- `X1` to `Xn`: optional lists of numerical values
1515

1616
**Tcl**
17-
1\) `::randFreq::getFreq values;`
18-
It returns estimated frequencies from given data set.
19-
17+
`::randFreq::getFreq values;`
18+
It returns estimated frequencies from given data set.
2019
- `$values`: a list of numerical lists e.g., `{{v11 v12 ... v1n} ... {vM1 ... vMm}}`
2120

22-
2\) `::randFreq::outputFreq values ?joinChar?;`
23-
It outputs estimated frequencies as utf-8 encoded text in the current directory.
24-
21+
`::randFreq::outputFreq values ?joinChar?;`
22+
It outputs estimated frequencies as utf-8 encoded text in the current directory.
2523
- `$values`: a list of numerical lists e.g., `{{v11 v12 ... v1n} ... {vM1 ... vMm}}`
2624
- `$joinChar`: a join character; tab character is default value
2725

26+
`::randFreq::loadFile filePath char ?encoding?;`
27+
It reads a given file and returns a list of numerical list.
28+
- `$filePath`: filePath of a given file
29+
- `$char`: a character used in order to split loaded data
30+
- `$encoding`: an optional encoding of given file
31+
2832
## 2. Script
2933
It requires Tcl/Tk 8.6+.
3034
- `randFreq.tcl`

0 commit comments

Comments
 (0)