mirror of
https://github.com/SASPAC/baseplus.git
synced 2025-12-10 22:44:34 +00:00
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:
@@ -48,7 +48,7 @@ libname NEW "%workPath()/new";
|
|||||||
```
|
```
|
||||||
and more.
|
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")
|
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")
|
||||||
|
|
||||||
|
|||||||
34
baseplus.md
34
baseplus.md
@@ -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
|
The **BasePlus** package implements useful
|
||||||
functions and functionalities I miss in the BASE SAS.
|
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 *
|
* SAS package generated by generatePackage, version 20230520 *
|
||||||
|
|
||||||
The SHA256 hash digest for package BasePlus:
|
The SHA256 hash digest for package BasePlus:
|
||||||
`F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5`
|
`F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06`
|
||||||
|
|
||||||
---
|
---
|
||||||
# Content description ############################################################################################
|
# Content description ############################################################################################
|
||||||
@@ -3112,6 +3112,8 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
|||||||
<,xLabels=>
|
<,xLabels=>
|
||||||
<,catLabelPos=>
|
<,catLabelPos=>
|
||||||
<,xLabelPos=>
|
<,xLabelPos=>
|
||||||
|
<,catLabelAttrs=>
|
||||||
|
<,xLabelAttrs=>
|
||||||
<,formated=>
|
<,formated=>
|
||||||
<,y2axis=>
|
<,y2axis=>
|
||||||
<,y2axisLevels=>
|
<,y2axisLevels=>
|
||||||
@@ -3162,7 +3164,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
|||||||
granularity level, e.g. for data with value
|
granularity level, e.g. for data with value
|
||||||
around `1e-8` should be decreased.
|
around `1e-8` should be decreased.
|
||||||
|
|
||||||
* `rainDropSiz` - *Optional*, default value `5px`.
|
* `rainDropSize` - *Optional*, default value `5px`.
|
||||||
Size of data points in the "rain" plot.
|
Size of data points in the "rain" plot.
|
||||||
|
|
||||||
* `boxPlotSymbolSize` - *Optional*, default value `8px`.
|
* `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).
|
Indicates position of the label on data axix (horizontal).
|
||||||
Allowed values are `LEFT`, `CENTER`, `DATACENTER`, and `RIGHT`.
|
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`.
|
* `formated` - *Optional*, default value `0`.
|
||||||
Indicates if values of the grouping variable should be formated.
|
Indicates if values of the grouping variable should be formated.
|
||||||
|
|
||||||
* `y2axis` - *Optional*, default value `1`.
|
* `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`.
|
* `y2axisLevels` - *Optional*, default value `4`.
|
||||||
Indicates if the number of expected levels of values printed
|
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,
|
* The `catLabels` and `xLabels` should be quoted comma separated lists enclosed with brackets,
|
||||||
e.g. `catLabels=("Continent of Origin", "Car Type")`, see Example below.
|
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`.
|
* Kernel density estimates and basic statistics are calculated with `PROC UNIVARIATE`.
|
||||||
|
|
||||||
* Plot is generated by `PROC SGPLOT` with `BAND`, `SCATTE`, and `POLYGON` plots.
|
* Plot is generated by `PROC SGPLOT` with `BAND`, `SCATTE`, and `POLYGON` plots.
|
||||||
@@ -3360,6 +3373,7 @@ The output:
|
|||||||
, y2axisLevels=3
|
, y2axisLevels=3
|
||||||
, catLabels=("Continent of Origin", "Car Type")
|
, catLabels=("Continent of Origin", "Car Type")
|
||||||
, xLabels="Invoice, [$]"
|
, 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.
|
and annotations.
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||||
|
|
||||||
@@ -3400,7 +3414,7 @@ The output:
|
|||||||
|
|
||||||
data test;
|
data test;
|
||||||
do system = 1 to 3;
|
do system = 1 to 3;
|
||||||
do i = 1 to 30;
|
do i = 1 to 50;
|
||||||
x = rannor(123)/system;
|
x = rannor(123)/system;
|
||||||
output;
|
output;
|
||||||
end;
|
end;
|
||||||
@@ -3410,15 +3424,19 @@ The output:
|
|||||||
|
|
||||||
|
|
||||||
%RainCloudPlot(test, system, x
|
%RainCloudPlot(test, system, x
|
||||||
|
, colorslist=CX88CCEE CX44AA99 CX117733
|
||||||
, formated=1
|
, formated=1
|
||||||
, sganno=annotation
|
, sganno=annotation
|
||||||
, sgPlotOptions=noborder
|
, sgPlotOptions=noborder
|
||||||
, WidthPX=2000
|
, WidthPX=1000
|
||||||
, HeightPX=420
|
, HeightPX=320
|
||||||
)
|
)
|
||||||
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
The output:
|
||||||
|

|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## >>> `%zipLibrary()` macro: <<< <a name="ziplibrary-macro"></a> #######################
|
## >>> `%zipLibrary()` macro: <<< <a name="ziplibrary-macro"></a> #######################
|
||||||
|
|||||||
BIN
baseplus.zip
BIN
baseplus.zip
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 |
BIN
baseplus_RainCloudPlot_Ex3.png
Normal file
BIN
baseplus_RainCloudPlot_Ex3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
4922
hist/1.24.2/baseplus.md
Normal file
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
BIN
hist/1.24.2/baseplus.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user