texlive[74969] Master/texmf-dist: lua-regression (17apr25)
commits+karl at tug.org
commits+karl at tug.org
Thu Apr 17 21:25:19 CEST 2025
Revision: 74969
https://tug.org/svn/texlive?view=revision&revision=74969
Author: karl
Date: 2025-04-17 21:25:19 +0200 (Thu, 17 Apr 2025)
Log Message:
-----------
lua-regression (17apr25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-doc.pdf
trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-doc.tex
trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.lua
trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-bib.bib
Added: trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-bib.bib
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-bib.bib (rev 0)
+++ trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-bib.bib 2025-04-17 19:25:19 UTC (rev 74969)
@@ -0,0 +1,21 @@
+
+ at Article{Hofmann2017,
+ author = {Hofmann, Heike and , Hadley, Wickham and and Kafadar, Karen},
+ date = {2017-07-03},
+ journaltitle = {Journal of Computational and Graphical Statistics},
+ title = {Letter-Value Plots: Boxplots for Large Data},
+ doi = {10.1080/10618600.2017.1305277},
+ issn = {1061-8600},
+ number = {3},
+ pages = {469--477},
+ url = {https://doi.org/10.1080/10618600.2017.1305277},
+ urldate = {2025-04-14},
+ volume = {26},
+ abstract = {Boxplots are useful displays that convey rough information about the distribution of a variable. Boxplots were designed to be drawn by hand and work best for small datasets, where detailed estimates of tail behavior beyond the quartiles may not be trustworthy. Larger datasets afford more precise estimates of tail behavior, but boxplots do not take advantage of this precision, instead presenting large numbers of extreme, though not unexpected, observations. Letter-value plots address this problem by including more detailed information about the tails using “letter values,” an order statistic defined by Tukey. Boxplots display the first two letter values (the median and quartiles); letter-value plots display further letter values so far as they are reliable estimates of their corresponding quantiles. We illustrate letter-value plots with real data that demonstrate their usefulness for large datasets. All graphics are created using the R package lvplot, and code and data are available in the supplementary materials.},
+ file = {Full Text PDF:https\://www.tandfonline.com/doi/pdf/10.1080/10618600.2017.1305277:application/pdf},
+ keywords = {Fourths, Location depth, Order statistics, Quantiles, Tail area},
+ publisher = {{ASA} Website},
+ shorttitle = {Letter-Value Plots},
+}
+
+ at Comment{jabref-meta: databaseType:biblatex;}
Property changes on: trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-bib.bib
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-doc.tex 2025-04-17 19:24:48 UTC (rev 74968)
+++ trunk/Master/texmf-dist/doc/lualatex/lua-regression/lua-regression-doc.tex 2025-04-17 19:25:19 UTC (rev 74969)
@@ -90,7 +90,7 @@
\title{The {\ttfamily lua-regression} package}
\author{George Allison\thanks{\href{mailto:GHAllison1 at sheffield.ac.uk}{\ttfamily mailto:GHAllison1 at sheffield.ac.uk}}}
-\date{v1.0.1\\ \today}
+\date{v1.0.2\\ \today}
% Redefine maketitle to include logo
\makeatletter
@@ -798,6 +798,12 @@
\pagebreak
\section{Changelog}
+
+ \subsection*{v1.0.2}
+
+ \begin{itemize}
+ \item Solves the bug with multiple CI plots have the same options regardless of what has been set.
+ \end{itemize}
\subsection*{v1.0.1}
Modified: trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.lua
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.lua 2025-04-17 19:24:48 UTC (rev 74968)
+++ trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.lua 2025-04-17 19:25:19 UTC (rev 74969)
@@ -439,7 +439,7 @@
return tonumber(string.format(fmt, value))
end
--- Example outlier filter using Z-scores
+-- Outlier filter using Z-scores
function filter_outliers(data, threshold)
if not threshold then return data end
Modified: trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.sty 2025-04-17 19:24:48 UTC (rev 74968)
+++ trunk/Master/texmf-dist/tex/lualatex/lua-regression/lua-regression.sty 2025-04-17 19:25:19 UTC (rev 74969)
@@ -19,7 +19,7 @@
% implied warranties of merchantability and fitness for a
% particular purpose.
-\ProvidesPackage{lua-regression}[2025/04/06 1.0.1 Lua Regression Plotting project]
+\ProvidesPackage{lua-regression}[2025/04/17 1.0.2 Lua Regression Plotting project]
\RequirePackage{ifthen}
\ifluatex
@@ -37,7 +37,6 @@
\usepgfplotslibrary{fillbetween}
% Define the key-value options
-% Define the key-value options
\pgfkeys{
/luaregression/.is family, /luaregression,
default/.style = {
@@ -97,6 +96,17 @@
{Use '\\begin{tikzpicture} ... \\end{tikzpicture}' with '\\usepackage{pgfplots}'.}%
\fi
\expandafter\addplot\expandafter[\luaregressionpgfoptions] {\polyeq};%
+ % Plot confidence band if ci=true
+ \ifthenelse{\equal{\luaregressionci}{true}}{%
+ \begingroup
+ \edef\luareg at ci@addplot{%
+ \noexpand\addplot[fill=\luaregressioncicolor,fill opacity=\luaregressioncifillopacity] fill between[of=quprpath and qlwrpath];%
+ }
+ \addplot[name path=qlwrpath,draw=none] coordinates {\qlwr};
+ \addplot[name path=quprpath,draw=none] coordinates {\qupr};
+ \luareg at ci@addplot
+ \endgroup
+ }{}%
% Construct the legend entry dynamically
\begingroup
\def\legendentry{}%
@@ -115,14 +125,5 @@
\expandafter\addlegendentry\expandafter{\legendentry}%
\fi
\endgroup
- % Plot confidence band if ci=true
- \ifthenelse{\equal{\luaregressionci}{true}}{%
- \addplot[name path=qlwrpath,draw=none] coordinates {\qlwr};
- \addplot[name path=quprpath,draw=none] coordinates {\qupr};
- \addplot[
- fill=\luaregressioncicolor,
- fill opacity=\luaregressioncifillopacity
- ] fill between[of=quprpath and qlwrpath];
- }{}%
}{}%
}
\ No newline at end of file
More information about the tex-live-commits
mailing list.