loadScoreFromFile | R Documentation |
Reads a csv file containing an alphabet, the associated scores, and eventually the associated probabilities.
loadScoreFromFile(filepath, header = TRUE, ...)
filepath |
optional: location of file on disk. If not provided, a file picker dialogue box will be opened. |
header |
does the file contain a header line (defaut to |
... |
optional: use arguments from read.csv |
The file should contains a header and 2 or 3 columns : first column the letters, second column the associated scores, optional third column associated probabilities. Letters should be unique and probabilities should sum to 1.
A data.frame. Rownames correspond to the first column, usually Letters. Associated numerical scores are in the second column. If probabilities are provided, they will be loaded too and presumed to be in the third column
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.