Description Usage Arguments Value Examples
CCAM code prediction function. It is used by OpenCPU Web service for Web-based prediction and can be used directly from R console.
1 | ccamCode(texte = "", service = "", nbCodes = 10)
|
service |
service name, from the list of built-in models : {'urologie', 'chirgen', 'chirplas', 'chirmaxfac'}. This parameter is used to pick the right model for code prediction. |
nbCodes |
the desired number of returned codes (default 10). |
text |
medical text to be encoded. |
string with JSON data with the ordered list of predicted codes. Each is assigned with code label and probability. If an error occurs, the function returns a string with error description.
1 | ccamCode("Résection de tumeurs de la vessie, par endoscopie", "urologie", 5) # returns a JSON string with predicted codes and probabilities.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.