Uncategorized




Introduction on many basics are covered other places in the R-tutorial. I encourage you to look around there if you need help with basic operations.  Still, below I mention some basics that you will need. Creating objects R treats our data as objects. They can be single vectors, matrices, lists […]

4.2 Some basics



[code language=”r”]#set working directory setwd("C:/Users/x/OneDrive/AB202 vår 2019/R") ################ import data and preparations ##### # for data import, make sure that the file path is correct #import from text file (export as text from excel file first, tabulator deliniated)### Data_in<-read.table("C:/Users/x/OneDrive/AB202 vår 2019/R/AB202fish_poster.txt", header=TRUE, sep="\t", dec=",") Data_in<-read.table("C:/Users/x/OneDrive/AB202 vår 2019/R/AB202benthos_poster.txt", header=TRUE, sep="\t", dec=",") […]

3.5 Example script