A set of foundational resources based in R for BSc Hons Applied Software Development. This forms a set of revision notes for students coming from a wide range of educational backgrounds and abilities.
- use
?plot
to find out help on how to use a command, in this case the plot command - use
help(plot)
to find help on how to use a command, in this case the plot command - use
<-
instead of=
for assignment of values to variables - use
all.equal(a,b)
to compare floating point values not==
- use
c(1,2,3)
to define an array of values - use
list("key"=1)
to define a list - use
data.frame
to represent a spreadsheet of data - use
read.csv
to read in a csv of data - use
plot
to plot data - use
par
to find more plotting settings - watch out for the value
NA
which can enter in without warning - R is able to handle calculations of arrays of values so you can do the follow:
a <- c(1,2,3)
b <- c(3,4,5)
a+b
Here are some common tools used for various areas of mathmatical computation
- Desmos Graphical Calculator - https://www.desmos.com/ (Web)
- R (S-Plus alternative) - https://cran.r-project.org/ (Open Source)
- R Studio (a gui for R) - https://rstudio.com/ (Open Source)
- Octave (Matlab compatible)- https://www.gnu.org/software/octave/index (Open Source)
- Wolfram Alpha Search Engine - https://www.wolframalpha.com/
- Wolfram Mathematica https://www.wolfram.com/mathematica/ (Free on Raspberry Pis, student licence available)
- Matlab - https://www.mathworks.com/products/matlab.html (Student license available)
- IBM Watson Studio - https://cloud.ibm.com/catalog/services/watson-studio (Available on IBM Cloud)
- GNU Plot - http://www.gnuplot.info/ (Open Source)
- GNU Multiple Precision Arthmetic Library - https://gmplib.org/ (Open Source)
- SPSS Modeller - Available via academic initiative.