R Array Data Structure

From GM-RKB
(Redirected from R array data structure)
Jump to navigation Jump to search

A Perl Array Data Structure is an array data structure that is an R data structure.



References

2012

  • (Melli, 2012-08-31) ⇒ Gabor Melli. (2011). “R Array Management Examples."
Populate manually

x <- 1:100 # the numbers from 1 to 100
x <- c(1:100) # another way; c = concatentate, meaning to link in a series
x <- c(0, 5, 317, 22, 99) # any numbers you choose
x <- seq(0, 100, 5) # means from 0 to 100 by fives, so 5, 10, 15, … 100
x <- rnorm(100) # a random sample of 100 from a normal distribution
x <- runif(100) # a random sample of 100 from a uniform distribution

still to add

append two lists
define a vector ;
append a vector to an array.
append two multidimensional arrays.

Populate from a file.
  still to add