|
In this video we introduce the repeat and while loops. There are small differences in the syntax of the three types of loops in R, which may make one form more convenient than another in any given…
Copyright
I created all of this content
|
|
Conditional execution is a fundamental technique in all computer programming and most computing languages have an if statement. The if and if else statements in R are similar to those in other…
Copyright
I created all of this content
|
|
R is an open source software system which is constantly being enhanced with user-contributed functions and data sets. Such material is organized into packages, which may be downloaded and installed…
Copyright
I created all of this content
|
|
In this video we introduce R. We give a brief overview of what R is; introduce CRAN (the Comprehensive R Archive Network website) and show how to find installation files, packages and documentation;…
Copyright
I created all of this content
|
|
In this video we demonstrate the ODS OUTPUT statement with an example involving PROC FREQ and compare it to the OUT= option on the TABLES statement. PROC FREQ, PROC MEANS and several other SAS PROCs…
Copyright
I created all of this content
|
|
In this video we show how to transpose variables (columns) into observations (rows) with PROC TRANSPOSE. We illustrate by converting a longitudinal data set from wide format to tall format. This can…
Copyright
I created all of this content
|
|
Rearranging (or re-shaping) a data set can be done in several different ways in SAS. PROC TRANSPOSE is one important tool for such operations. Here we show how to use PROC TRANSPOSE to convert…
Copyright
I created all of this content
|
|
Several SAS PROCs have an OUTPUT statement. But here we discuss the OUTPUT statement in a data step. It is used to write the current observation (the contents of the Program Data Vector) to a data…
Copyright
I created all of this content
|