mirror of
https://github.com/SASPAC/baseplus.git
synced 2025-12-15 16:24:35 +00:00
The BasePlus package [ver. 1.23.0] Three new utility macros for the BasePlus: - `%intsList()` - prints a space separated list of integers, - `%splitDSIntoBlocks()` - splits dataset into block of given size (and one[the last] possibly smaller) - `%splitDSIntoParts()` - splits dataset into given number of parts (of approximately same size) Macros `splitDSIntoBlocks` and `splitDSIntoParts` supports *BASE* and *SPDE* engines. Documentation updated.
44 lines
1.1 KiB
Markdown
44 lines
1.1 KiB
Markdown
## `basePlus` - The BASE SAS plus a bunch of functionalities I am missing in BASE SAS :-)
|
|
|
|
---
|
|
|
|
The **BasePlus** package adds a bunch of functionalities I am missing in BASE SAS, such as:
|
|
```sas
|
|
call arrMissToRight(myArray);
|
|
|
|
call arrFillMiss(17, myArray);
|
|
|
|
call arrFill(42, myArray);
|
|
|
|
rc = delDataset("DataSetToDrop");
|
|
|
|
string = catXFn("date9.", "#", myArray);
|
|
|
|
format x bool.;
|
|
|
|
%put %getVars(sashelp.class, pattern = ght$, sep = +, varRange = _numeric_);
|
|
|
|
%rainCloudPlot(sashelp.cars,DriveTrain,Invoice)
|
|
|
|
%zipLibrary(sashelp,libOut=work)
|
|
|
|
%bpPIPE(ls -la ~/)
|
|
|
|
%dirsAndFiles(C:\SAS_WORK\,ODS=work.result)
|
|
|
|
%put %repeatTxt(#,15,s=$) HELLO SAS! %repeatTxt(#,15,s=$);
|
|
|
|
%put %intsList(42);
|
|
|
|
%splitDSIntoBlocks(5, sashelp.class, classBlock)
|
|
|
|
%splitDSIntoParts(7, sashelp.cars, carsPart)
|
|
```
|
|
and more.
|
|
|
|
SHA256 digest for the latest version of `BasePlus`: F*625E56B017C4AA8D436959C0A03C8503773A9A3823D43FA9E0326276E52DA6F2
|
|
|
|
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")
|
|
|
|
To work with a package use the [**SAS Packages Framework**](https://github.com/yabwon/SAS_PACKAGES/blob/main/README.md "SPFinit").
|