[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=",") […]