Skip to content

Commit

Permalink
version 5.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-scr authored and cran-robot committed Nov 20, 2020
1 parent 8598a2b commit 598224f
Show file tree
Hide file tree
Showing 86 changed files with 5,696 additions and 1,452 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mclust
Version: 5.4.6
Date: 2020-04-09
Version: 5.4.7
Date: 2020-11-08
Title: Gaussian Mixture Modelling for Model-Based Clustering,
Classification, and Density Estimation
Description: Gaussian finite mixture models fitted via EM algorithm for model-based clustering, classification, and density estimation, including Bayesian regularization, dimension reduction for visualisation, and resampling-based inference.
Expand All @@ -26,11 +26,11 @@ ByteCompile: true
NeedsCompilation: yes
LazyData: yes
Encoding: UTF-8
Packaged: 2020-04-09 17:43:44 UTC; luca
Packaged: 2020-11-20 08:46:31 UTC; luca
Author: Chris Fraley [aut],
Adrian E. Raftery [aut] (<https://orcid.org/0000-0002-6589-301X>),
Luca Scrucca [aut, cre] (<https://orcid.org/0000-0003-3826-0484>),
Thomas Brendan Murphy [ctb] (<https://orcid.org/0000-0002-5668-7046>),
Michael Fop [ctb] (<https://orcid.org/0000-0003-3936-2757>)
Maintainer: Luca Scrucca <luca.scrucca@unipg.it>
Date/Publication: 2020-04-11 14:30:08 UTC
Date/Publication: 2020-11-20 10:40:03 UTC
141 changes: 73 additions & 68 deletions MD5
Original file line number Diff line number Diff line change
@@ -1,158 +1,163 @@
0ab7a94956810a24a28f652b84ff52a3 *DESCRIPTION
6d6add2a10e03c1d9a1675092d5eee19 *NAMESPACE
19103fce6a03a6f14871b11074a050b4 *NEWS.md
b307fc7a89832b340d7271b1c01b54e0 *DESCRIPTION
d33983c853440c9023d6bce71ca84217 *NAMESPACE
a9c9323e848cede82f1f5afbe0790554 *NEWS.md
b8572093a6c447d556302662030ab4c9 *R/bootstrap.R
7e0361ad8167e56f59687168450e6d22 *R/clustCombi.R
1a1c9f5aed43465e3a480eae4d89f576 *R/densityMclust.R
b76a3d8060cc93cec384445d98105a21 *R/gmmhd.R
147ab775d49b726353b75434abb7b3e9 *R/graphics.R
68a9fc956f512c3d708d4015471b058f *R/graphics.R
ba84097ee321529784cd9c6db5143e77 *R/icl.R
4b9155a000a45bb1f37fd1507c15f172 *R/impute.R
c09097c1dad0e07df7a552cb6d7228bf *R/mbahc.R
bbc7f3190e10fc9a513934fc7f4170f7 *R/mclust.R
6d5d4d05ce79ad44104a6613fade8e14 *R/mbahc.R
0e68dc982c9606d7ad2a328ff9946a4b *R/mclust.R
1c0ad0629bdef87f46a9811aa87011ea *R/mclustaddson.R
e538b9d0b443d9329fee92444690d29b *R/mclustda.R
58887692ea7244b823d9736032fba82d *R/mclustda.R
3134343f0d9576ac66c85d66b0fc2256 *R/mclustdr.R
18ffd65e4c69c99e8ea4cb19ff98e0c9 *R/options.R
703536f12b6e9ee9aaa8e6719ac4555a *R/mclustssc.R
b2216ff923e4a79da4d35b12a4015f6f *R/options.R
781ff8bea2efa10350791cd781eb4a2d *R/toremove.R
f628ec3786ac41f45508cc4145a2d28f *R/util.R
4881214e91a870f738e2258c1b2fe4f7 *R/util.R
f4e0dc159cb386c756eeb3d91e833a4d *R/weights.R
ea54da7ad04ea6cf47aad932539d5945 *R/zzz.R
430ff574a5278b73e49324cbeb9c4b4b *build/vignette.rds
c0a164f4df320950eddb477c71ea78e5 *data/Baudry_etal_2010_JCGS_examples.rda
28c0fba0af7c95851573c77597d1afa9 *data/EuroUnemployment.rda
8612251d089327244e464c809efc131f *data/GvHD.rda
85526626efc94246655cd2b815f26c21 *data/acidity.rda
dcf0404be80a56cd040ed8cb8da1b428 *data/banknote.txt.gz
052f39193da75683b32c492a0df99cb2 *data/chevron.rda
5de10b593e60083c0e1d12b973ece54b *data/cross.rda
aa7d4e8b606e246652968a0c1d6f2264 *data/diabetes.rda
4945d2a408186e1913a101d4175287ff *data/thyroid.rda
b2a529e265721bcd2cb632d42ec6cc11 *data/wdbc.txt.gz
86a890fe37deee36e0620537144cccfc *data/wreath.rda
a59d2501833ca154918a98a29aa49418 *build/vignette.rds
967c58c222a548c523d3be618d1771f8 *data/Baudry_etal_2010_JCGS_examples.R
1e86710645e28102665885b6a29c5b12 *data/EuroUnemployment.R
8ef52720badae4a65f51039a6f9f0228 *data/GvHD.R
c786f4c0231f4f261f0eb5360dd79086 *data/acidity.R
0e22afc0696bed7e8f7878b3c3974174 *data/banknote.txt
fb4ca040a6b23a3d76f6ed877da9fa64 *data/chevron.R
456573f77137d6983d8cf646b4012eef *data/cross.R
bc0a118fed63865418e8d153833d8c03 *data/diabetes.R
b36eb33f5f8f682be8bb0bd3dc1c3b90 *data/thyroid.R
2809331079e97b621f48fc7f14c20677 *data/wdbc.txt
8d372db3ba3e437390b00e7dcb2c22c3 *data/wreath.R
8d16fa500120f43dd55c8a0a08359f55 *inst/CITATION
6fce37b68f6b4a2ce7ade42cba984c99 *inst/NEWS
a09905f6e2852d6cfcba1faac3da3c76 *inst/doc/mclust.R
7278b7f759063e3034995f25eff22def *inst/doc/mclust.Rmd
cbf4c8658b644556854d5f7a268b33f0 *inst/doc/mclust.html
11ea720c00e8b4bd06511e19f71b227c *inst/doc/mclust.R
ab28dde3ab58c3103ae0440bd0e3d81c *inst/doc/mclust.Rmd
b85457a3f21dbd9a6f4bad978f3d8af8 *inst/doc/mclust.html
0910b5ac9a610600d59154919b1b5eaf *man/Baudry_etal_2010_JCGS_examples.Rd
226b01ed5c258d406de2af5cfade2ba1 *man/BrierScore.Rd
46173e31ba6dcd5e32de0ab995a3936f *man/EuroUnemployment.Rd
d76b599944ca21988801f20fa43badc2 *man/GvHD.Rd
bcb5db44ee76743e2c2c4ac29572a142 *man/Mclust.Rd
1496c9e40a8326f4d922857a9beff127 *man/Mclust.Rd
3d737638443b8ad5332f5bb1851d99e3 *man/MclustBootstrap.Rd
5fb50ee5bea75c63154a76e906a5787b *man/MclustDA.Rd
35a685d7dc0ca9ef4041cedc7a2ed9a4 *man/MclustDR.Rd
063c311f745fbecf669b4333b0b216a9 *man/MclustDA.Rd
7c530f8c4d25155c83f3d660aeaf5af4 *man/MclustDR.Rd
490426167429f8a5032a76f13780d122 *man/MclustDRsubsel.Rd
b8d666ee6dceb9fbad3be67dea8e5c35 *man/MclustSSC.Rd
be7d9c84a562490de0d98f27345b349a *man/acidity.Rd
25e4f71de95b8fff43de166f3245d8ba *man/adjustedRandIndex.Rd
6c924f5dc94fb10416016d5d027932e3 *man/adjustedRandIndex.Rd
40bf7f2db2b9677c5b9bf7733da4aeac *man/banknote.Rd
eb92ce9bfd46fcf3eb40fb062bd82071 *man/bic.Rd
36e1db31a2bf61f5405c8c53dd4515d7 *man/bic.Rd
0b4fc7fd19284abad76b17b8a947851b *man/cdens.Rd
a0f106c2c8ffeb166a9bbe85fdceb392 *man/cdensE.Rd
3cb1c9457f1b0f03056e314304e78274 *man/cdfMclust.Rd
d6fc69cc27d552aab15038a88c8d4a42 *man/cdfMclust.Rd
b0cfe540c4eb91f99f49c2127562cd49 *man/chevron.Rd
dc98998fcb6483250d8eb20a8342edab *man/clPairs.Rd
342f855aaedba7fe96aaf6a425a77519 *man/clPairs.Rd
63d108fe436518c400eebb43430a5958 *man/classError.Rd
b13b8ac3eafe2084cdb1174e08cb6cdb *man/classPriorProbs.Rd
fd20be5ef505890b5fb82337022b9f0a *man/clustCombi-internals.Rd
a8283e0b37782c013e43e7abc96b55e2 *man/clustCombi.Rd
c50378c14cde114110ac59e4552fdcbf *man/clustCombi.Rd
bdb14988bc5193739060f58cca67fd5f *man/clustCombiOptim.Rd
fd9027722a416f5955196a5cdc985c53 *man/combMat.Rd
249a123191e271ba5d8f0577ee249276 *man/combiPlot.Rd
4278fa6e198cd8da911f89bded24f9b4 *man/combiPlot.Rd
0ad6fd1b3b38c99e3dbb74292cdea0ae *man/combiTree.Rd
7944afcc8243a4b6772dbaf704decf6b *man/coordProj.Rd
0ad10b7d97e45bebe7a10f69a7f919b9 *man/covw.Rd
2e85d0cc4be9094e9d19aeffe69a296d *man/cross.Rd
9bb56179fd11ee4fb5381b6a684a9feb *man/cvMclustDA.Rd
281a582da51a0e7f85e7a014e915478c *man/decomp2sigma.Rd
c2e2f3160f5343cf2e9d94aac026e0e7 *man/defaultPrior.Rd
fda9dcf4cfaed7732249571065089e67 *man/decomp2sigma.Rd
4175c1b284dbb6b7c5a5da13f32d037e *man/defaultPrior.Rd
b1195aa852e01046fee1d9484e2fafc9 *man/dens.Rd
1d22277d8a033431667afe84684b1d81 *man/densityMclust.Rd
802c511a30a7cff09b45442526a03cd2 *man/densityMclust.diagnostic.Rd
9555c9ce741dcf600b6458e3c90e72c6 *man/diabetes.Rd
92ea0d6609afc260770a66d2ad957f04 *man/dmvnorm.Rd
70afb44eac912ad73a029d1b342976df *man/em.Rd
9bd81085828b4bc9badee8e6e5f147ea *man/emControl.Rd
7fd10b6eb296938380d664874f096808 *man/emE.Rd
391b1379ae424c5177fd9b939c434d3e *man/entPlot.Rd
aa7962d19690cbc200d6bf634490f731 *man/em.Rd
df3e1e471eccd851260c5c668f4a33e4 *man/emControl.Rd
2cd76cc6c506202041e83df2f727dde9 *man/emE.Rd
039726e6c8b4ed0cff6cd4d7c16d1db5 *man/entPlot.Rd
6e7e4d7ec91567f07c07d95891720b0b *man/errorBars.Rd
2b3e5919d2445368ee9d40f5498e5ed6 *man/estep.Rd
5436f5843e8b60e257a09ac7f006cd8b *man/estep.Rd
ed4de5adcefd398a587e3fe176be5ef0 *man/estepE.Rd
246f72baa397cd928f97c9cb6c3ff940 *man/figures/logo.png
df6daeac190195cfd0f6cde35e18365c *man/gmmhd.Rd
769d775fe51705de16d09b6073fc48ba *man/hc.Rd
3b505711416a599b4a71586ad9c6ee66 *man/hcE.Rd
d63ca89381715f823a343ab10d8eb590 *man/hclass.Rd
15501b2ec8e67084025c4908630902dc *man/hc.Rd
1e4a1a38a4411a4ab1d54e98c40d851f *man/hcE.Rd
ed3b16d80e13872b6cf8ce7e80d0041c *man/hcRandomPairs.Rd
615ea4e180df4eafe9247e66a1e2514a *man/hclass.Rd
2ddfa6fedfaf2a8b469024689cad3e32 *man/hdrlevels.Rd
f5c538311fa12c3298e7524d9eb62817 *man/hypvol.Rd
918939d5858154bd5aa2a789e8adda3a *man/icl.Rd
cfaaf677496a141f288bd91068a8c94a *man/imputeData.Rd
fafd046c110aa10b51f1b45f040fdf6b *man/imputePairs.Rd
5600b48043953d3b380e50c16cdbfb31 *man/imputePairs.Rd
cc916d8c4282eb5e20899b25d0b741ea *man/logLik.Mclust.Rd
db9dd261d97ef515e5008f7f9351bc0b *man/logLik.MclustDA.Rd
699915f3a4cf8bfd6718f71f2a754c48 *man/majorityVote.Rd
7d8989594ce3a00a8633781ff84658f0 *man/map.Rd
76e1f32de9fada05bc7c1af7f7c8a3dc *man/mapClass.Rd
4e3901ea67e0c125d8e5ac4330df2e38 *man/mapClass.Rd
f1edaf4e08180fa4edad91f6023b58c3 *man/mclust-deprecated.Rd
46bd2e7c7536abe228d0ba00a6e99dd4 *man/mclust-internal.Rd
beac4a2a752bce39e2c9189812c1147a *man/mclust-package.Rd
1ec78f317ae287f9c8dd973b0ce91bb8 *man/mclust.options.Rd
4c7bbe35eee6b36b88cfbdfe24db3d32 *man/mclust.options.Rd
b84afcd2004a33843ef9f3c16f437e87 *man/mclust1Dplot.Rd
cf40112a3a2e1779697d2cbbc198c52a *man/mclust2Dplot.Rd
e8ecf0ae6fc47f9afee962964623facc *man/mclustBIC.Rd
d472e0d59f19113c24ffdde7fdc67955 *man/mclustBICupdate.Rd
bc45d3a68ace0fa55fb770b177e620f6 *man/mclustBIC.Rd
732f3d95c591761cd2c141cc0fa7b12e *man/mclustBICupdate.Rd
8b53ade82e8b688643dbd9e3f8a4bc08 *man/mclustBootstrapLRT.Rd
6d3012dae0c7a03c6574491517a8ab00 *man/mclustICL.Rd
0a070441cfab2c8827cae182a38b3c66 *man/mclustLoglik.Rd
9d69c87d5861e6de08a57854ed4bf324 *man/mclustModel.Rd
ea6c97d710bff8c2d30aa915949e711d *man/mclustModelNames.Rd
caf6238f3fe60beaaf874d6c1c98065b *man/mclustModelNames.Rd
9c49fb43d204333caacaa786cac65af9 *man/mclustVariance.Rd
27e609cedd39d670de86885456340a2a *man/me.Rd
601d4fddd6bde3efc311aa4c09157b26 *man/me.weighted.Rd
4bdf047772528fdc2c663778faad37f6 *man/meE.Rd
fcf5cf7cf0a3e468832036c88a92feb6 *man/mstep.Rd
ce758dc6a8106521b38f207efe040ed6 *man/me.Rd
7f93d5cc38a155eaf82902edbca1ab09 *man/me.weighted.Rd
ac659d4036d5e464339507dd9d76ec3f *man/meE.Rd
904dd6e78a9af0f54463d2f0d7effe8d *man/mstep.Rd
1df45500c5a8ac583684bea4d3e08260 *man/mstepE.Rd
f6baae6868d0519aa222797656ffee37 *man/mvn.Rd
95f6a5c67782e061d7e922dd937ff7bc *man/mvnX.Rd
16c6ef6baa11a8e7f6dc3f515aa9f9ed *man/mvn.Rd
98666ccf1d2f8d937e03a332509f40e8 *man/mvnX.Rd
c3796dae5e43a2c26a9ee9b73fcf2276 *man/nMclustParams.Rd
2099a0c748ce32038c52f4aedf1886c5 *man/nVarParams.Rd
36355172607046a0c37f10dee1197ed5 *man/partconv.Rd
cde8fd0e95c3ca5e84846d10a851fd76 *man/partuniq.Rd
b0354eb07d5c849fc6c0be463c30b31b *man/partuniq.Rd
e2fdc7b5a3c1ebf5dbfa73b61f5ef0df *man/plot.Mclust.Rd
2cf7265cf9b4fa52c6208dc5fe27072b *man/plot.MclustBoostrap.Rd
aaccb40a44639012fc0789461389d642 *man/plot.MclustDA.Rd
038d53a4fd4ca42d090b19d5fb54d6df *man/plot.MclustDR.Rd
3fd0d79ca9549c14b822845673cad5c1 *man/plot.MclustSSC.Rd
dbd8bdd0d07f7f7d6f8fe3b107091e23 *man/plot.clustCombi.Rd
fc6801f93f4dfb1559632c1c37cb5bb8 *man/plot.densityMclust.Rd
339efd96c69d386b0e4a34094084a486 *man/plot.hc.Rd
073765a149a0c11d1130f95aff2e320f *man/plot.mclustBIC.Rd
73cbe302b1095c8a9069163414501214 *man/plot.mclustICL.Rd
f640c08bd9098247a97a44f30c89a4cf *man/predict.Mclust.Rd
eb5eee0ce8ec4a4894ca618c703f8555 *man/predict.MclustDA.Rd
e84b696c5b8eff056814c3cba07bee9f *man/predict.MclustDR.Rd
e480d5c563c69251f7d9bef4626bbd68 *man/predict.MclustSSC.Rd
7c321a1a8eecfcb89e3ed806a4b9a2d2 *man/predict.densityMclust.Rd
c59592f03a637487c2b2e8473ac427e0 *man/priorControl.Rd
8384a865dade63acabf451b136217287 *man/priorControl.Rd
28b2a887bc3c57e224c7d17bcf3363f3 *man/randProj.Rd
9acae98acfaf6b565e9233957a144d22 *man/randomOrthogonalMatrix.Rd
164e38869f2f45ca98a8ad38912e15bf *man/randomPairs.Rd
db6e45328c8d98198da2b16c881403b4 *man/sigma2decomp.Rd
5a37417ceffee43ee448dbbf3d7259bb *man/sim.Rd
a28f1d4193a31f36ba654fcf05836c22 *man/simE.Rd
d9477d3e3d801b783e42d10e37271e05 *man/randomOrthogonalMatrix.Rd
e43a5fead9ef355e3d522ec94e224f66 *man/sigma2decomp.Rd
fefcdaead8cae165464de03d5de18658 *man/sim.Rd
95e1039073e6e193280f6d6c3e245381 *man/simE.Rd
63cfca85d2a01ff42db2c501780a8d8f *man/summary.Mclust.Rd
674c885bc9505c6906125ec08141e60a *man/summary.MclustBootstrap.Rd
4a8c675b46da86ca7075999c22e635f4 *man/summary.MclustDA.Rd
103fff818063adef9f3262398342fb0a *man/summary.MclustDR.Rd
fe2f8df16cc881677e427811d2d8a0d9 *man/summary.MclustSSC.Rd
986ecadd060b62810d73fa37ec72dc19 *man/summary.mclustBIC.Rd
e9bb8170d08268e1369bb90f9f91e0cb *man/surfacePlot.Rd
db0b51f96c35a65bea5efa26a19ee50d *man/thyroid.Rd
3bffc72594c9e3a57414d9de0b2b90f1 *man/thyroid.Rd
16f301b425aebb1ac6b6f0175427dabc *man/uncerPlot.Rd
6310a244a9397d432360fd51766bfe29 *man/unmap.Rd
b76a9e2d21683188dc8bce832e2ec9d1 *man/unmap.Rd
784f834ca6c27d28b787bc0813995f62 *man/wdbc.Rd
c1b81d23059192faf2b0fdb40b0bc0d2 *man/wreath.Rd
2a6f9e9e044a78154d3cfda5936d6f48 *src/Makevars
d784799104d2c2350f9350b268761a2b *src/dmvnorm.f
394a717e565a6647678c758462d11eb2 *src/init.c
d8f2aded8f48c674e9546a51ea271da7 *src/mclust.f
5ddcdc7e9d5c82abda7bcb62fb594cb3 *src/mclust.f
015387e2f8c8f04d9e8900f82002a925 *src/mclustaddson.f
7278b7f759063e3034995f25eff22def *vignettes/mclust.Rmd
b336c79647f3679eee6aff1702d422f5 *vignettes/vignette.css
ab28dde3ab58c3103ae0440bd0e3d81c *vignettes/mclust.Rmd
65f749d551420d943d4c097ff4bd7fdc *vignettes/vignette.css
14 changes: 10 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,11 @@ export(clPairs, clPairsLegend, coordProj, randProj,

export(priorControl, defaultPrior, hypvol)

export(hc, print.hc, plot.hc, as.hclust.hc, as.dendrogram.hc)
export(hc, print.hc, plot.hc)
S3method("print", "hc")
S3method("plot", "hc")
S3method("as.hclust", "hc")
S3method("as.dendrogram", "hc")
export(hcE, hcEEE, hcEII, hcV, hcVII, hcVVV)
export(hclass, randomPairs)
export(hclass, hcRandomPairs, randomPairs)

export(mclustBIC, print.mclustBIC, summary.mclustBIC,
print.summary.Mclust, plot.mclustBIC,
Expand Down Expand Up @@ -97,6 +95,14 @@ S3method("plot", "MclustDA")
S3method("predict", "MclustDA")
S3method("logLik", "MclustDA")

export(MclustSSC, print.MclustSSC, summary.MclustSSC, print.summary.MclustSSC,
plot.MclustSSC, predict.MclustSSC)
S3method("print", "MclustSSC")
S3method("summary", "MclustSSC")
S3method("print", "summary.MclustSSC")
S3method("plot", "MclustSSC")
S3method("predict", "MclustSSC")

export(MclustDR, print.MclustDR, summary.MclustDR, print.summary.MclustDR,
plot.MclustDR, plotEvalues.MclustDR, projpar.MclustDR,
predict.MclustDR, predict2D.MclustDR)
Expand Down
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# mclust 5.4.7 (NOT ON CRAN)

- Updated plot method (dendrogram) for hierarchical clustering --- now based on classification likelihood.
- Added `MclustSSC()` function (and related `print`, `summary`, `plot`, and `predict`, methods) for semi-supervised classification.
- Exchanged order of models VEE and EVE to account for increasing complexity of EVE.
- Added `cex` argument to `clPairs()` to control character expansion used in plotting symbols.
- `em()` and `me()` have now `data` as first argument.
- Added fish length data.

# mclust 5.4.6

- Fixed issues with source Fortran code with gfortran 10 as reported by CRAN.
Expand Down
19 changes: 11 additions & 8 deletions R/graphics.R
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ mvn2plot <- function(mu, sigma, k = 15, alone = FALSE,
}

clPairs <- function (data, classification,
symbols = NULL, colors = NULL, cex = 1,
symbols = NULL, colors = NULL, cex = NULL,
labels = dimnames(data)[[2]], cex.labels = 1.5,
gap = 0.2, grid = FALSE, ...)
{
Expand Down Expand Up @@ -532,6 +532,7 @@ clPairs <- function (data, classification,
{ colors <- rep( "black", l)
warning("more colors needed")
}
if(is.null(cex)) cex <- rep(1, l)
grid <- isTRUE(as.logical(grid))

if(d > 2)
Expand All @@ -542,12 +543,12 @@ clPairs <- function (data, classification,
},
pch = symbols[classification],
col = colors[classification],
cex = cex[classification],
gap = gap,
cex = cex,
cex.labels = cex.labels,
...) }
else if(d == 2)
{ plot(data, cex = cex,
{ plot(data, cex = cex[classification],
pch = symbols[classification],
col = colors[classification],
panel.first = if(grid) grid(),
Expand All @@ -556,10 +557,11 @@ clPairs <- function (data, classification,
invisible(list(d = d,
class = levels(classification),
col = colors,
pch = symbols[seq(l)]))
pch = symbols[seq(l)],
cex = cex))
}

clPairsLegend <- function(x, y, class, col, pch, box = TRUE, ...)
clPairsLegend <- function(x, y, class, col, pch, cex, box = TRUE, ...)
{

usr <- par("usr")
Expand All @@ -581,9 +583,10 @@ clPairsLegend <- function(x, y, class, col, pch, box = TRUE, ...)
dots$legend <- class
dots$text.width <- max(strwidth(dots$title, units = "user"),
strwidth(dots$legend, units = "user"))
dots$col <- col
dots$text.col <- col
dots$pch <- pch
dots$col <- if(missing(col)) 1 else col
dots$text.col <- if(missing(col)) 1 else col
dots$pch <- if(missing(pch)) 1 else pch
dots$cex <- if(missing(cex)) 1 else cex
dots$title.col <- par("fg")
dots$title.adj <- 0.1
dots$xpd <- NA
Expand Down
Loading

0 comments on commit 598224f

Please sign in to comment.