Blog

By Chris Campbell - Senior Consultant, UK.

R is a classy language. Look:

x <- matrix(1:9, nrow = 3)
x
##      [,1] [,2] [,3]
## [1,]    1    4    7
## [2,]    2    5    8
## [3,]    3    6    9
class(x)
## [1] "matrix"

A class is a label that identifies what an object is. How it's struct...

Continue reading...

By Chris Campbell - Senior Consultant, UK.

As this was the first ever Manchester R the topics were designed for helping people make a start in R. We started off with a pre-session workshop; a brief introduction to R for absolute beginners. Moving from grapical user interfaces (GUIs) to the console...

Continue reading...

By Chris Campbell - Senior Consultant, UK.

One of the most important objects in R are functions. Functions are a type of object that perform most of the actions we make in R. A quick refresher on objects.

> # We can create objects and view objects
>
> i <- 1
> n <- 5
> n
[1] 5
> i
[1] 1
>
> # We...

Continue reading...

By Chris Campbell - Senior Consultant, UK.

For many types of data, we have made a measurement of some variable that looks normally distributed. The middle value is the most likely, most values are similar to the middle value, and a few values may be larger or smaller.

> uwt <- Theoph$Wt[!duplica...

Continue reading...

By Chris Campbell - Senior Consultant, UK.

As this was the first ever Manchester R the topics were designed for helping people make a start in R. We started off with a pre-session workshop; a brief introduction to R for absolute beginners. Moving from grapical user interfaces (GUIs) to the console...

Continue reading...