Description Usage Arguments Examples
View source: R/utility_functions.R
Split SAS code into statements
1 | splitIntoStatements(sasCode)
|
sasCode |
Character string containing SAS code |
1 2 3 | sasPath <- system.file('examples/SAScode/Macros/fun2.SAS', package='sasMap')
sasCode <- loadSAS(sasPath)
splitIntoStatements(sasCode)
|
[1] "\r\n%macro fun2;"
[2] "\r\n\r\n %util1 param3;"
[3] "\r\n\r\n proc sql;"
[4] "\r\n create table bp as\r\n select patient, date, bps, bpd\r\n from vitals;"
[5] "\r\n quit;"
[6] " \r\n\t\r\n%mend fun2;"
[7] "\r\n"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.