forked from brry/berryFunctions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
NEWS
271 lines (207 loc) · 10.5 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
Before the actual NEWS, here is some future development planned in berryFunctions.
Feedback, ideas, code suggestions welcome at [email protected] or via github.com/brry/berryFunctions
-----------------------------
- createDoc: add field opportunities for description, note, etc (see Roxygen)
- exp4p: allow initial values for optim, try to improve with nls(y~expfun(p,x=x), start=as.list(param) )
- linreg: add legargs argument
- lsc: better example dataset, optim problems, sim line not plotted completely
- require2: change to requireNamespace http://r-pkgs.had.co.nz/namespace.html#namespace
- tableColVal: add digits argument
- textField: support srt. Enable positioning with xy.coords as in legend. expr=F if labels contain expression. Adjust adj parameter based on pos and offset: if(!is.null(pos)), I want the field to still be drawn with adj, but have it based on pos
-----------------------------
-----------------------------
Version 1.10.0 (2015--)
https://github.com/brry/berryFunctions/compare/master@{2015-10-10}...master@{2015--}
- normPlot: colors drawn in quantiles
New functions: insertRows, dataStr
-----------------------------
-----------------------------
Version 1.9.0 (2015-10-10)
To see all changes in detail, go to:
https://github.com/brry/berryFunctions/compare/master@{2015-06-02}...master@{2015-10-10}
The general overview:
Package imports 'base' packages: graphics (22 functions used), stats (18), utils (6), grDevices (5)
Documentation updated in several places, notably in package info
ChangeLog renamed to NEWS, so that it shows up in package help index
- combineFiles: progbar option added, with default options does no longer include outFile in outFile
- climateGraph: rainfall sum corrected if compress=TRUE
- movAv: NA handling greatly improved (some bugs went unnoticed for a long time)
- linReg and mReg: handle NAs and formula input
- linLogHist, linLogTrans: added sleep argument to slow down animation
- pointZoom: expr argument added, colp renamed (col could not be given)
New functions: sortDF, timer, approx2, ciBand
-----------------------------
-----------------------------
Version 1.8.1 (2015-06-02)
For all changes see the commits on github with these links:
https://github.com/brry/berryFunctions/compare/master@{2014-12-22}...master
https://github.com/brry/berryFunctions/compare/master@{2014-12-22}...master@{2015-06-02}
The most important stuff:
- documentation improved and examples expanded in many places
- where graphical parameters are changed, options are added to reset them (betaPlot, linLogTrans, normPLot, smallPlot, and in some example sections)
- improvements in package-internal references to other functions (smoothLines eg now calls addAlpha, new functions repeatedly rely on existing functions)
- linLogTrans: lots of new options, better transformation t values
- logAxis: intermediate tick marks enabled
- pretty2 can now be forced to return an exact nubmer of values
- quantileMean: inputs checked, truncate option (analog to extremeStat::distLquantile), example with sample size dependency simulation
- smallPlot: improved for mfrow situations, coordinates input and swapping improved, auomatic correction of input errors
New functions: panelDim, groupHist, monthAxis, pastec, linLogHist, movAvLines
removed: deprecatedFunctions
-----------------------------
-----------------------------
Version 1.7.1 (2014-12-20)
various small changes and bug fixes. See the commits on github
- rmse and rsquare NA-removal warnings can now be silenced with quiet=TRUE
- linReg: formula specification is now enabled: linReg(obj1~obj2) or linReg(col_a~col_b, data=df)
- colPoints can now draw lines (with interpolation and with NA management) and triangles at legend ends for values outside Range
- classify has new method logscaled and an index for values outside Range
- textField: vertical extend of bounding boxes is now correct through use of expression
- tableColVal: text can be changed (eg logarithmized, see examples)
- createDoc: case now checked. Fixed handling when several args per line or explanations contain 'DEFAULT:'
- logAxis: good internal range and base defaults. exponents. side can be a vector.
- owa: replaced u with ellipsis. order of arguments is not changed anymore.
- nameSample has been enhanced a lot.
- tableColVal now uses classify
- combineFiles now allows selection of lines
New functions: logSpaced, removeSpace, expReg, dupes
-----------------------------
-----------------------------
Version 1.6 (2014-10-14)
removed extremeStatLmom from this package, updated package title and description
created a file with deprecated functions
version table removed from berryFunctions package documentation (redundant and outdated information)
Development version is now on Github
"cat" changed to "message" where applicable
- mReg and exp4p documentation updated (minor changes)
- logAxis expanded by log argument to draw the lines on log10(data) but without plot(log="x")
- logAxis argument order improved (side at first place to mimic axis)
- logAxis argument base has new default (1,2,5)
- linReg now also writes rmse. The default line width and pch were changed
- addAlpha now also takes a vector for alpha and yields elementwise alpha-ing
- compareFiles and combineFiles have been renamed for consistency
- seqR: added extendrange argument, rewrote part of the function
New functions: rainbow2, quantileMean, quantileBands, (compareFiles and combineFiles)
removed functions: extremeStatLmom, changeAttribute, showAttribute shapeZoom, (compFiles and combineTextfiles)
-----------------------------
-----------------------------
Version 1.5.2 (2014-09-15)
Functions to be moved to new packages warn about it (extremeStatLmom, changeAttribute, showAttribute and shapeZoom)
- combineTextfiles gained 'names' argument to include filenames in the output
- unitHydrograph: View() in examples only when interactive
- nse, rmse, rqsuare: NA warning now gives numbers
New function: logAxis
-----------------------------
-----------------------------
Version 1.5 (2014-09-03)
To-Do-list centralized and sorted here, no to-Dos left in source code.
- climateGraph: argument lists for each polygon with owa. sum and avg now at figure margins via mtext.
- createDoc: extreme simplification of creation of usage section. Now creates new .Rd file if one already exists. Backslash handling optimized, but not perfect yet. Now allows latex in arg explanation, but the function start has to be indicated by a single { in an otherwise empty line. "fun" argument does not have to be in quotation marks anymore. Equal sign in defaults now handled correctly.
- logVals: Default values for 'from' and 'to' changed
- seqR: range is now first argument, so it doesn't have to be given each time. min and max argument "finite" changed to "na.rm".
- tableColVal: argument lists for each text group, allowing srt etc.
- owa: throws an understandable error when unnamed arguments are in the list
- lsc: now warns when sum under UH is !=1. Calculation time Rcmd check in examples reduced. nse and rmse explicitly called from this package.
- mReg: exp_4p outsourced, rsquare and rmse taken from package, R^2 is now calculated on the actual fit, not its linearization
- require2 received the alias library2
- colPoints, colPointsLegend: generally rewritten. classification methods, cpHist and smallPlot added.
- extremeStatLmom: code for legend arguments improved (with owa)
- packages lmom and spatstat were moved from "suggests" to "imports", as they are within functions and not just in the examples.
New functions: normPlot, betaPlot, exp4p, compFiles, funTinn, pretty2, colPointsHist, classify, smallPlot
functions removed: compareDoc (Rcmd check does this better, once a package is set up), extremeStat (replaced with extremeStatLmom)
-----------------------------
-----------------------------
Version 1.4 (2014-07-01)
Added To-Do list with my personal wishes (and some comments from other people) at the top of this ChangeLog. Examples in several functions received line breaks / shortening
- extremeStatLmom: p.value by ks.test as measure for goodness of fit addded. Output is now data.frame instead of matrix. Value field in Doc is complemented. Examples are updated.
- lsc: example QP-Data is now a file in the package folder extdata, not a dropbox link anymore (files were accidentally deleted and it was too slow anyways). P and Q labels are now placed in the outer margin.
- mReg: ditto for temp data
New function: linLogTrans
-----------------------------
-----------------------------
Version 1.3 (2014-06-08)
Description field much more verbose
Shapefile (6 MB) removed from data
examples in changeAttribute, showAttribute, shapeZoom changed accordingly
-----------------------------
-----------------------------
Version 1.2 (2014-06-06)
email address in DESCRIPTION Maintainer Field (how could I possibly miss that typo?!) is now corrected.
This ChangeLog is now reformated to create a standard layout.
A lot of examples have received line breaks (they were longer than 100 chars).
berryFunctions-package: examples completed and grouped
createDoc: seealso extended.
funnelPLot and mReg: owa removed from function body
lsc: argument returnsim included, output now vector. psi incluced. catchment area included, examples and documentation updated
logVals: description updated
owa: programming example included, description changed.
combineTextfiles: example added.
require2: example is set to dontrun
-----------------------------
-----------------------------
Version 1.1 (2014-06-05)
First Version to be published
all functions have documentation.
Function names are standardized in lowerCamel.
Many of the already existing functions have been extended with more arguments and possibilities.
The following 3 functions have been removed:
info - use class or mode seperately
Rand - use box("figure")
vlast - use head() and tail()
New functions:
addAlpha
addRows
changeAttribute
climateGraph
cls
combineTextfiles
createDoc
extremeStatLmom
funnelPlot
googleLink2pdf (formerly link_google2pdf)
l2df
lim0
logVals
lsc
lsMem
mReg
nameSample
nse
owa
pointZoom (formerly bzoom)
require2
rmse
rsquare
seqR
showAttribute
smoothLines (formerly blines)
superPos
tableColVal
textField
triangleArea (formerly dreieckflaeche)
unitHydrograph
yearSample
-----------------------------
-----------------------------
Version 1.0 (2012-10-04)
unpublished, mainly just to try building a package
initial functions (Most of them had no or few documentation):
blines
bzoom
ci
cie
circle
colpoints
colpointslegend
distance
dreieckflaeche
extremSTAT
horiz.hist
info
link_google2pdf
linreg
monthlabs
movav
Rand
randompoints
shapezoom
vlast