↧
SAS versus R : using lists
I have an extensive background in Base SAS and SAS suite of tools. But R is fairly new to me and I’ve been studying it in my spare time. I figure the best way to learn R is to compare it with SAS. I...
View ArticleSAS versus R : using arrays
In a general programming language, an array is considered to be a data structure which stores variables of similar data type. In SAS, this is not the case. An array is only a compile-time statement and...
View ArticleSAS versus R : how to generate random numbers
In SAS, “ranuni” function can be used to generate random numbers between 0 and 1 inclusive. Hence, if there is a request to generate random numbers from 1 to 5 inclusive, it is possible to multiply by...
View Article