| 1 | #cxx . . $ `<file>/dwtools/Table_extensions.h`/ifndef _Table_extensions_h_ |
| 2 | #define _Table_extensions_h_cxx . . $ `dwtools/Table_extensions.h:2:9`! |
| 3 | /* Table_extensions.h |
| 4 | * |
| 5 | * Copyright (C) 1993-2023 David Weenink |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | /* |
| 22 | djmw 20020411 initial GPL |
| 23 | djmw 20131220 Latest modification. |
| 24 | */ |
| 25 | |
| 26 | /* |
| 27 | TODO : 15/8/23 harmonize all arguments columnnames + columnnumbers |
| 28 | */ |
| 29 | #include "TableOfReal.h"cxx . . $ `<file>/stat/TableOfReal.h`/ |
| 30 | #include "Collection.h"cxx . . $ `<file>/sys/Collection.h`/ |
| 31 | #include "Categories.h"cxx . . $ `<file>/dwtools/Categories.h`/ |
| 32 | #include "FileInMemory.h"cxx . . $ `<file>/dwsys/FileInMemory.h`/ |
| 33 | #include "Strings_.h"cxx . . $ `<file>/sys/Strings_.h`/ |
| 34 | #include "SSCP.h"cxx . . $ `<file>/dwtools/SSCP.h`/ |
| 35 | #include "Table.h"cxx . . $ `<file>/stat/Table.h`/ |
| 36 | |
| 37 | autoTablecxx . . $ autoTable# Table_extractRowsWherecxx . . $ Table_extractRowsWhere(3b4fc90dd0e68404). (Tablecxx . . $ Table# me, conststring32cxx . . $ conststring32# formula, Interpretercxx . . $ Interpreter# interpreter); |
| 38 | autoTablecxx . . $ autoTable# Table_extractRowsWhere_ecxx . . $ Table_extractRowsWhere_e(3b4fc90dd0e68404). (Tablecxx . . $ Table# me, conststring32cxx . . $ conststring32# formula, Interpretercxx . . $ Interpreter# interpreter); |
| 39 | |
| 40 | autoTablecxx . . $ autoTable# Table_extractColumnsByNumbercxx . . $ Table_extractColumnsByNumber(a428dcc6ba32b6da). (Tablecxx . . $ Table# me, constINTVECVUcxx . . $ constINTVECVU# const& columnNumbers); |
| 41 | |
| 42 | integercxx . . $ integer# Table_getNumberOfRowsWherecxx . . $ Table_getNumberOfRowsWhere(f085a7d4bc26c2dd). (Tablecxx . . $ Table# me, conststring32cxx . . $ conststring32# formula, Interpretercxx . . $ Interpreter# interpreter); |
| 43 | |
| 44 | autoINTVECcxx . . $ autoINTVEC# Table_listRowNumbersWherecxx . . $ Table_listRowNumbersWhere(599094db18279134). (Tablecxx . . $ Table# me, conststring32cxx . . $ conststring32# formula, Interpretercxx . . $ Interpreter# interpreter); |
| 45 | |
| 46 | autoVECcxx . . $ autoVEC# Table_getColumnVectorcxx . . $ Table_getColumnVector(af4837e9c8a384e6). (Tablecxx . . $ Table# me, integercxx . . $ integer# columnNumber); |
| 47 | |
| 48 | autoTablecxx . . $ autoTable# Table_create_petersonBarney1952cxx . . $ Table_create_petersonBarney1952(73e96076fba2d046). (); |
| 49 | |
| 50 | autoTablecxx . . $ autoTable# Table_create_hillenbrandEtAl1995cxx . . $ Table_create_hillenbrandEtAl1995(73e96076fba2d046). (); |
| 51 | |
| 52 | autoTablecxx . . $ autoTable# Table_create_polsVanNierop1973cxx . . $ Table_create_polsVanNierop1973(73e96076fba2d046). (); |
| 53 | |
| 54 | autoTablecxx . . $ autoTable# Table_create_weenink1983cxx . . $ Table_create_weenink1983(73e96076fba2d046). (); |
| 55 | |
| 56 | autoTablecxx . . $ autoTable# Table_create_keatingEsposito2006cxx . . $ Table_create_keatingEsposito2006(73e96076fba2d046). (); |
| 57 | |
| 58 | autoTablecxx . . $ autoTable# Table_create_ganong1980cxx . . $ Table_create_ganong1980(73e96076fba2d046). (); |
| 59 | |
| 60 | autoTablecxx . . $ autoTable# FileInMemorySet_downto_Tablecxx . . $ FileInMemorySet_downto_Table(b998be83b9dc7644). (FileInMemorySetcxx . . $ FileInMemorySet# me, bool openFilesOnly); |
| 61 | |
| 62 | double Table_getMedianAbsoluteDeviationcxx . . $ Table_getMedianAbsoluteDeviation(676f3c91a8818756). (Tablecxx . . $ Table# me, integercxx . . $ integer# columnNumber); |
| 63 | |
| 64 | void Table_reportHuberMStatisticscxx . . $ Table_reportHuberMStatistics(6cb95b4da8fbdc08). (Tablecxx . . $ Table# me, integercxx . . $ integer# columnNumber, double k_std, double tol, double *out_location, double *out_scale, integercxx . . $ integer# maximumNumberOfiterations); |
| 65 | |
| 66 | // Two one-way tests for normal and non-normally distributed data, respectively. |
| 67 | autoTablecxx . . $ autoTable# Table_getOneWayAnalysisOfVarianceFcxx . . $ Table_getOneWayAnalysisOfVarianceF(adb65708f033c266). (Tablecxx . . $ Table# me, |
| 68 | integercxx . . $ integer# column, integercxx . . $ integer# groupColumn, autoTablecxx . . $ autoTable# *means, autoTablecxx . . $ autoTable# *meansDiff, autoTablecxx . . $ autoTable# *meansDiffProbabilities |
| 69 | ); |
| 70 | |
| 71 | autoTablecxx . . $ autoTable# Table_getOneWayKruskalWalliscxx . . $ Table_getOneWayKruskalWallis(fcf9eb48d078154). (Tablecxx . . $ Table# me, |
| 72 | integercxx . . $ integer# column, integercxx . . $ integer# factorColumn, double *p_prob, double *p_kruskalWallis, double *p_df |
| 73 | ); |
| 74 | |
| 75 | autoTablecxx . . $ autoTable# Table_getTwoWayAnalysisOfVarianceFcxx . . $ Table_getTwoWayAnalysisOfVarianceF(b718dbf40f913d5e). (Tablecxx . . $ Table# me, |
| 76 | integercxx . . $ integer# column, integercxx . . $ integer# groupColumnA, integercxx . . $ integer# groupColumnB, autoTablecxx . . $ autoTable# *means, autoTablecxx . . $ autoTable# *factorLevelSizes |
| 77 | ); |
| 78 | |
| 79 | void Table_verticalErrorBarsPlotcxx . . $ Table_verticalErrorBarsPlot(76d35b37f75c497c). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, integercxx . . $ integer# xcolumn, integercxx . . $ integer# ycolumn, double xmin, double xmax, |
| 80 | double ymin, double ymax, integercxx . . $ integer# yci_min, integercxx . . $ integer# yci_max, double bar_mm, bool garnish |
| 81 | ); |
| 82 | |
| 83 | void Table_horizontalErrorBarsPlotcxx . . $ Table_horizontalErrorBarsPlot(76d35b37f75c497c). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, integercxx . . $ integer# xcolumn, integercxx . . $ integer# ycolumn, double xmin, double xmax, |
| 84 | double ymin, double ymax, integercxx . . $ integer# xci_min, integercxx . . $ integer# xci_max, double bar_mm, bool garnish |
| 85 | ); |
| 86 | |
| 87 | void Table_normalProbabilityPlotcxx . . $ Table_normalProbabilityPlot(da0ba6560ddc06fb). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 88 | integercxx . . $ integer# column, integercxx . . $ integer# numberOfQuantiles, double numberOfSigmas, double labelSize, conststring32cxx . . $ conststring32# label, bool garnish |
| 89 | ); |
| 90 | |
| 91 | void Table_quantileQuantilePlotcxx . . $ Table_quantileQuantilePlot(86d22c2996a8fec1). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 92 | integercxx . . $ integer# xcolumn, integercxx . . $ integer# ycolumn, integercxx . . $ integer# numberOfQuantiles, |
| 93 | double xmin, double xmax, double ymin, double ymax, double labelSize, conststring32cxx . . $ conststring32# label, bool garnish |
| 94 | ); |
| 95 | |
| 96 | void Table_quantileQuantilePlot_betweenLevelscxx . . $ Table_quantileQuantilePlot_betweenLevels(8241d99bda047962). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 97 | integercxx . . $ integer# dataColumn, integercxx . . $ integer# factorColumn, conststring32cxx . . $ conststring32# xlevel, conststring32cxx . . $ conststring32# ylevel, integercxx . . $ integer# numberOfQuantiles, |
| 98 | double xmin, double xmax, double ymin, double ymax, double labelSize, conststring32cxx . . $ conststring32# label, bool garnish |
| 99 | ); |
| 100 | |
| 101 | void Table_boxPlotscxx . . $ Table_boxPlots(a334397a8a312d1d). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 102 | integercxx . . $ integer# dataColumn, integercxx . . $ integer# factorColumn, double ymin, double ymax, bool garnish); |
| 103 | |
| 104 | void Table_boxPlotscxx . . $ Table_boxPlots(35f7533cf9fd25df). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 105 | constINTVECcxx . . $ constINTVEC# const& dataColumnNumbers, integercxx . . $ integer# factorColumn, |
| 106 | double ymin, double ymax, bool garnish |
| 107 | ); |
| 108 | |
| 109 | void Table_distributionPlotcxx . . $ Table_distributionPlot(69fa56ebebcc0fbd). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 110 | integercxx . . $ integer# dataColumn, double minimum, double maximum, integercxx . . $ integer# nBins, |
| 111 | double freqMin, double freqMax, bool garnish |
| 112 | ); |
| 113 | |
| 114 | void Table_barPlotcxx . . $ Table_barPlot(37e0adad0debcc). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 115 | constINTVECcxx . . $ constINTVEC# columnNumbers, double ymin, double ymax, integercxx . . $ integer# labelColumnNumber, |
| 116 | double xoffsetFraction, double interbarFraction, double interbarsFraction, constSTRVECcxx . . $ constSTRVEC# colours, |
| 117 | double angle, bool garnish |
| 118 | ); |
| 119 | |
| 120 | void Table_lineGraphcxx . . $ Table_lineGraph(1be2d254a915c4c1). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 121 | integercxx . . $ integer# xcolumn, double xmin, double xmax, integercxx . . $ integer# ycolumn, double ymin, double ymax, |
| 122 | conststring32cxx . . $ conststring32# symbol, double symbolFontSize, double angle, bool garnish |
| 123 | ); |
| 124 | |
| 125 | void Table_lineGraph_oldcxx . . $ Table_lineGraph_old(6fa14fe0283873e1). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 126 | integercxx . . $ integer# xcolumn, double xmin, double xmax, integercxx . . $ integer# ycolumn, double ymin, double ymax, |
| 127 | conststring32cxx . . $ conststring32# symbol, double angle, bool garnish |
| 128 | ); |
| 129 | |
| 130 | void Table_lagPlotcxx . . $ Table_lagPlot(efd049f288032178). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 131 | integercxx . . $ integer# column, integercxx . . $ integer# lag, double xmin, double xmax, |
| 132 | conststring32cxx . . $ conststring32# symbol, double labelSize, bool garnish |
| 133 | ); |
| 134 | |
| 135 | void Table_drawEllipsescxx . . $ Table_drawEllipses(2165c9561fcd3761). (Tablecxx . . $ Table# me, Graphicscxx . . $ Graphics# g, |
| 136 | integercxx . . $ integer# xcolumn, integercxx . . $ integer# ycolumn, integercxx . . $ integer# labelcolumn, double xmin, double xmax, double ymin, double ymax, |
| 137 | double numberOfSigmas, double labelSize, bool garnish |
| 138 | ); |
| 139 | |
| 140 | autoTablecxx . . $ autoTable# Table_extractMahalanobiscxx . . $ Table_extractMahalanobis(a830684e58cf7658). (Tablecxx . . $ Table# me, INTVECcxx . . $ INTVEC# const& columnNumbers, |
| 141 | kMelder_numbercxx . . $ kMelder_number# which, double numberOfSigmas, integercxx . . $ integer# factorColumn); |
| 142 | |
| 143 | void Table_printAsAnovaTablecxx . . $ Table_printAsAnovaTable(1499cd40562fac4f). (Tablecxx . . $ Table# me); |
| 144 | |
| 145 | void Table_printAsMeansTablecxx . . $ Table_printAsMeansTable(1499cd40562fac4f). (Tablecxx . . $ Table# me); |
| 146 | |
| 147 | #endif // _Table_extensions_h_ |