The BasePlus package [ver. 1.24.2]

The BasePlus package [ver. 1.24.2]

Updates:
- the `%RainCloudPlot()` has 2 new parameters: `catLabelAttrs` and `xLabelAttrs`,
- documentation was updated (new examples with plots), and
- some spellings were fixed.

The SHA256 hash digest for package BasePlus:
`F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06`
This commit is contained in:
Bart Jablonski
2023-05-26 11:18:18 +02:00
parent 13a9585ae3
commit 5492c49ad4
8 changed files with 4949 additions and 9 deletions

View File

@@ -48,7 +48,7 @@ libname NEW "%workPath()/new";
```
and more.
SHA256 digest for the latest version of `BasePlus`: F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5
SHA256 digest for the latest version of `BasePlus`: F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")

View File

@@ -67,7 +67,7 @@
---
# The BasePlus package [ver. 1.24.1] <a name="baseplus-package"></a> ###############################################
# The BasePlus package [ver. 1.24.2] <a name="baseplus-package"></a> ###############################################
The **BasePlus** package implements useful
functions and functionalities I miss in the BASE SAS.
@@ -339,7 +339,7 @@ localization (only if additional content was deployed during the installation pr
* SAS package generated by generatePackage, version 20230520 *
The SHA256 hash digest for package BasePlus:
`F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5`
`F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06`
---
# Content description ############################################################################################
@@ -3112,6 +3112,8 @@ The basic syntax is the following, the `<...>` means optional parameters:
<,xLabels=>
<,catLabelPos=>
<,xLabelPos=>
<,catLabelAttrs=>
<,xLabelAttrs=>
<,formated=>
<,y2axis=>
<,y2axisLevels=>
@@ -3162,7 +3164,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
granularity level, e.g. for data with value
around `1e-8` should be decreased.
* `rainDropSiz` - *Optional*, default value `5px`.
* `rainDropSize` - *Optional*, default value `5px`.
Size of data points in the "rain" plot.
* `boxPlotSymbolSize` - *Optional*, default value `8px`.
@@ -3205,11 +3207,19 @@ The basic syntax is the following, the `<...>` means optional parameters:
Indicates position of the label on data axix (horizontal).
Allowed values are `LEFT`, `CENTER`, `DATACENTER`, and `RIGHT`.
* `catLabelAttrs` - *Optional*, default value is empty.
List of attributes for group axix labels (vertical).
For details see notes below.
* `xLabelAttrs` - *Optional*, default value is empty.
List of attributes for data variable axix labels (horizontal).
For details see notes below.
* `formated` - *Optional*, default value `0`.
Indicates if values of the grouping variable should be formated.
* `y2axis` - *Optional*, default value `1`.
Indicates if the righ vertical axix should be displayed.
Indicates if the right vertical axix should be displayed.
* `y2axisLevels` - *Optional*, default value `4`.
Indicates if the number of expected levels of values printed
@@ -3279,6 +3289,9 @@ The basic syntax is the following, the `<...>` means optional parameters:
* The `catLabels` and `xLabels` should be quoted comma separated lists enclosed with brackets,
e.g. `catLabels=("Continent of Origin", "Car Type")`, see Example below.
* The `catLabelAttrs` and `xLabelAttrs` should be space separated lists of `key=value` pairs,
e.g. `xLabelAttrs=size=12 color=Pink weight=bold`, see Example below.
* Kernel density estimates and basic statistics are calculated with `PROC UNIVARIATE`.
* Plot is generated by `PROC SGPLOT` with `BAND`, `SCATTE`, and `POLYGON` plots.
@@ -3360,6 +3373,7 @@ The output:
, y2axisLevels=3
, catLabels=("Continent of Origin", "Car Type")
, xLabels="Invoice, [$]"
, xLabelAttrs=size=12 color=Pink weight=bold
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -3370,7 +3384,7 @@ The output:
**EXAMPLE 3.** Rain Cloud plot with formated groups:
**EXAMPLE 3.** Rain Cloud plot with formatted groups
and annotations.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
@@ -3400,7 +3414,7 @@ The output:
data test;
do system = 1 to 3;
do i = 1 to 30;
do i = 1 to 50;
x = rannor(123)/system;
output;
end;
@@ -3410,15 +3424,19 @@ The output:
%RainCloudPlot(test, system, x
, colorslist=CX88CCEE CX44AA99 CX117733
, formated=1
, sganno=annotation
, sgPlotOptions=noborder
, WidthPX=2000
, HeightPX=420
, WidthPX=1000
, HeightPX=320
)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The output:
![Example 3](./baseplus_RainCloudPlot_Ex3.png)
---
## >>> `%zipLibrary()` macro: <<< <a name="ziplibrary-macro"></a> #######################

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

4922
hist/1.24.2/baseplus.md Normal file

File diff suppressed because it is too large Load Diff

BIN
hist/1.24.2/baseplus.zip Normal file

Binary file not shown.