Publications by Cian White
Script for Dillon
I can get the web to be plotted with the following code. library(bipartite) data <- read.csv("Dillon_Data.csv") str(data) 'data.frame': 186 obs. of 3 variables: $ Site : int 1 1 1 2 2 2 2 2 2 2 ... $ Plant : Factor w/ 30 levels "Achillea millefolium",..: 30 30 29 19 12 9 9 9 22 22 ... $ Pollinator: Factor w/ 29 levels "Apis...
2470 sym R (496 sym/3 pcs) 2 img
Ordinal Regression Analysis
Aim Using Tilda data we are looking to see whether we can predict the score of a Mini-mental state examination, coded as mms, based on whether the individual ever had alcohol problem and level of exercise. Data import and Tidying. Let’s load in the Tilda data, subset out the variable we want and set up a dataframe with variables of interest....
14431 sym R (11047 sym/36 pcs) 1 img
Principal Component Analysis Script
Prinicpal Component Analysis I am setting up a notebook for how to run principal component analyses. PCA techniques are very useful for data exploration when the dataset is ‘wide’, there are a lot of columns for the amount of rows of datapoints. A PCA looks for correlations among the columns by searching for vectors (eigenvectors) that correl...
10939 sym R (19449 sym/95 pcs) 17 img
Reproducible Analysis
Reproducible Analysis Researcher degrees of freedom are an issue in disciplines that rely heavily on fairly complicated statistical analysis. There are many different ways a dataset can be analysed, which can produce qualitatively different results (see Many analysts, one dataset). A way to combat this is to create reproducible workflows, so that...
40327 sym R (2279 sym/8 pcs) 12 img 2 tbl
Shinagh Farm
This is an R Markdown Notebook. When you execute code within the notebook, the results appear beneath the code. Try executing this chunk by clicking the Run button within the chunk or by placing your cursor inside it and pressing Ctrl+Shift+Enter. library(dplyr) library(tidyverse) library(sf) #for reading in shapefiles Shinagh_Habitats = st_re...
16232 sym R (7377 sym/42 pcs) 13 img
Plant-Animal Interactions: Practical Two
Visualising networks and calculating network parameters in R Downloading and Updating R R is a free to download statistical and graphical software language which is hugely versatile. R’s capabilities are augmented by packages which are free to download. We will use the bipartite package which allows us to visualise interactions of two trophic ...
2120 sym R (2217 sym/8 pcs) 2 img