|
The ifelse() function evaluates a logical object (usually a vector-valued logical condition) and returns an object of the same dimension with TRUE values replaced by a value, or vector of values,…
Copyright
I created all of this content
|
|
In this video we continue to discuss subscripts, this time concentrating on matrices and arrays. Each dimension of these structures may be subscripted to return a sub-matrix or sub-array of the…
Copyright
I created all of this content
|
|
We continue to discuss data structures in R, this time focusing on lists. Unlike vectors, matrices and arrays, the elements of a list may be of different modes. This makes them very flexible and…
Copyright
I created all of this content
|
|
In this video we introduce the various data structures in R, concentrating on vectors.Vectors are the fundamental unit in R, so it is important to understand how to form and manipulate them. While…
Copyright
I created all of this content
|
|
In this video we introduce read.table() for reading data from an external file into a data frame in R. We illustrate the use of this function via Example #1 in Mod9Script.R; you should download that…
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
|
|
This video introduces the SET command within a SAS data step for copying one dataset into another or for combining datasets vertically (vertical concatenation). This video covers essential content…
Copyright
I created all of this content
|
|
There are two variables that SAS automatically creates in the program data vector when processing a data step. One is _N_ and the other is _ERROR_. These are useful to know about when programming in…
Copyright
I created all of this content
|
|
This video provides an introduction to delimited input. Follow along with Example #5 in InputExamps.sas.
Copyright
I created all of this content
|
|
In this video we see a second example, pets2.sas, which elaborates on pets.sas. Here we introduce some new features including the global statements OPTIONS, TITLE and LIBNAME, and we see how to read…
Copyright
I created all of this content
|
|
This video shows our first SAS program, which is called pets.sas. You'll see how to open SAS University Edition, how to open pets.sas in SAS Studio, and you'll learn the general structure…
Copyright
I created all of this content
|