Commit [r2817] Maximize Restore History

R: update textometry package to version 0.1.3

mdecorde 2014-07-11

removed /trunk/textometry/data/bfm.R
removed /trunk/textometry/data/robespierre.R
removed /trunk/textometry/tests/author.xls
changed /trunk/textometry/DESCRIPTION
changed /trunk/textometry/R/progression.R
changed /trunk/textometry/R/specificities.R
changed /trunk/textometry/inst/CITATION
changed /trunk/textometry/man/bfm.Rd
changed /trunk/textometry/man/robespierre.Rd
changed /trunk/textometry/man/specificities.Rd
changed /trunk/textometry/man/specificities.lexicon.Rd
changed /trunk/textometry/man/specificities.probabilities.Rd
changed /trunk/textometry/man/textometry-package.Rd
changed /trunk/textometry/tests/bfmprogression.R
copied /trunk/textometry/tests/ca.R -> /trunk/textometry/man/specificities.lexicon.new.Rd
copied /trunk/textometry/tests/specificities.Rout.save -> /trunk/textometry/man/progression.Rd
/trunk/textometry/data/bfm.R
File was removed.
/trunk/textometry/DESCRIPTION Diff Switch to side-by-side view
Loading...
/trunk/textometry/R/progression.R Diff Switch to side-by-side view
Loading...
/trunk/textometry/R/specificities.R Diff Switch to side-by-side view
Loading...
/trunk/textometry/inst/CITATION Diff Switch to side-by-side view
Loading...
/trunk/textometry/man/bfm.Rd Diff Switch to side-by-side view
Loading...
/trunk/textometry/man/robespierre.Rd Diff Switch to side-by-side view
Loading...
/trunk/textometry/man/specificities.Rd Diff Switch to side-by-side view
Loading...
/trunk/textometry/man/specificities.lexicon.Rd Diff Switch to side-by-side view
Loading...
/trunk/textometry/man/specificities.probabilities.Rd Diff Switch to side-by-side view
Loading...
/trunk/textometry/man/textometry-package.Rd Diff Switch to side-by-side view
Loading...
/trunk/textometry/tests/bfmprogression.R Diff Switch to side-by-side view
Loading...
/trunk/textometry/tests/ca.R to /trunk/textometry/man/specificities.lexicon.new.Rd
--- a/trunk/textometry/tests/ca.R
+++ b/trunk/textometry/man/specificities.lexicon.new.Rd
@@ -1,20 +1,29 @@
-table <- read.table("clipboard");
-myca <- ca(table)
+\name{specificities.lexicon.new}
+\Rdversion{1.1}
+\alias{specificities.lexicon.new}
 
-myca$rowmass
-myca$rowdist
-myca$rowinertia
-myca$rowcoord
+\title{
+specificities association score with two frequency list.
+}
 
-myca$colmass
-myca$coldist
-myca$colinertia
-myca$colcoord
+\description{
+Compute specificities association score between a lexicon and a sub-lexicon.
+A new version of the "specificities.lexicon" function
+}
 
-plot(myca, dim = c(1,2), map = "symmetric", what = c("all", "all"), mass = c(TRUE, TRUE), contrib = c("relative", "relative"), col = c("#0000FF", "#FF0000"))
-mtext("side1", side = 1, line = 2);
-mtext("side2", side = 2, line = 2)
+\usage{
+specificities.lexicon.new(lexicon, sublexicon)
+}
 
+\arguments{
+  \item{lexicon}{ a frequency list (named vector) }
+  \item{sublexicon}{ a frequency list (named vector) }
+}
 
-table[order(table[ ,1]), ];
-plot3d.ca(ca(table, nd=3))
+\value{
+  specificities index as a named vector.
+}
+
+\seealso{
+  \code{\link{specificities}} for specificities score and references
+}
/trunk/textometry/tests/specificities.Rout.save to /trunk/textometry/man/progression.Rd
--- a/trunk/textometry/tests/specificities.Rout.save
+++ b/trunk/textometry/man/progression.Rd
@@ -1,40 +1,29 @@
+\name{progression}
+\alias{progression}
 
-R version 2.9.1 (2009-06-26)
-Copyright (C) 2009 The R Foundation for Statistical Computing
-ISBN 3-900051-07-0
+\title{ Draw progression graphic }
+\description{
+  Draw the progression graphic of matches of CQL queries in a corpus
+}
+\usage{
+  progression(positions, names, colors, styles, widths, corpusname, Xmin, T, 
+  	doCumulative, structurepositions, strutnames, graphtitle, bande)
+}
 
-R est un logiciel libre livrĂŠ sans AUCUNE GARANTIE.
-Vous pouvez le redistribuer sous certaines conditions.
-Tapez 'license()' ou 'licence()' pour plus de dĂŠtails.
+\arguments{
+  \item{positions}{ Vector containing corpus positions of CQL queries matches. A position is an integer from 0 (begining of corpus) to N (end of corpus) }
+  \item{names}{ String vector containing the CQL queries }
+  \item{colors}{ Vector containing the line color of each query }
+  \item{styles}{ Vector containing the line style of each query }
+  \item{widths}{ Vector containing the line width of each query }
+  \item{corpusname}{ String: corpus name }
+  \item{Xmin}{ Integer: corpus starting position of abscissa values }
+  \item{T}{ Integer: size of the corpus }
+  \item{doCumulative}{ Boolean: if true draw a cumulative graph, if false draw a density graph }
+  \item{structurepositions}{ optional Vector containing the structure positions of the corpus }
+  \item{strutnames}{ optional Vector containing the structures labels to display }
+  \item{graphtitle}{ String: graph title }
+  \item{bande}{ Float: density window size factor }
+}
 
-R est un projet collaboratif avec de nombreux contributeurs.
-Tapez 'contributors()' pour plus d'information et
-'citation()' pour la façon de le citer dans les publications.
-
-Tapez 'demo()' pour des dĂŠmonstrations, 'help()' pour l'aide
-en ligne ou 'help.start()' pour obtenir l'aide au format HTML.
-Tapez 'q()' pour quitter R.
-
-[Sauvegarde de la session prĂŠcĂŠdente restaurĂŠe]
-
-> library(textometry);
-> data(robespierre);
-> specificities(robespierre);
-                D1      D2      D3      D4      D5      D6      D7      D8
-de          1.2477  2.6891 -0.5534  1.6471 -0.5096  0.3114 -0.6132 -0.8098
-peuple      0.6161  1.1466 -0.6709 -4.1743  2.1122  1.2906 -0.7980  1.3632
-republique  0.9753  0.4424  0.6038  0.9023  0.4706 -1.2797 -2.2003  1.9736
-ennemi      1.2133  1.6778  0.3146  0.3091  0.3364 -0.5024 -2.0550  0.4965
-patrie     -4.2432 -0.4160  1.4491 -2.0903  0.6178 -0.3834  1.5961  0.8409
-others     -1.2657 -3.6429  0.3542 -0.5984 -0.5387  0.3333  1.2439 -0.5569
-                D9     D10
-de          0.3884 -2.2050
-peuple     -0.3977 -0.8410
-republique -0.5366 -0.6335
-ennemi     -0.3552 -0.4359
-patrie     -0.3079  0.6414
-others      0.3377  2.4355
-> 
-> proc.time()
-utilisateur     système      ÊcoulÊ 
-      0.304       0.024       0.333 
+\author{Matthieu Decorde}