Description Usage Arguments Value Author(s) See Also Examples
This function plot a Class in two dimensions. At axis X is the words from class, at axis Y the mean from TF-IDF for all file into the class. With you compare this centroid with a file, this function will show a graphics with points and multiplay regression at the same plot.
1 |
classe |
What class you want to plot |
compare |
If you want to compare one file with that centroid, or the other centroid class, you must write the file name, if NULL nothing will be compare, than the function will show you just centroid plot. |
all |
If TRUE the function will show you all classes plot. If compare was defined, this file will be compared with all classes. |
wplot |
Default is TRUE, FALSE if you want to see only correlation between then. |
cut |
Cut minimum value of mean and TF-IDF |
typePlot |
This option is to change type of plot, with choose "p, "o" or "l" |
multiPlot |
The default plot function is all graphics in the same plot. If you want one graphics to plot, change to TRUE. |
interact |
To interact with plot, this option must be used with R Studio |
Correlation |
Correlation between mean from centroid compared with TF-IDF from file |
Delermando Branquinho Filho
plotFile()
1 2 | > plotClass(classe = "at2", compare = "004062006at2.txt")
[1] 0.9997294
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.