setwd('D:/ZW/zwwww')
########loading package
library(mgcv);library(nlme);library(lme4)
library(FD);library(vegan);library(psych)
library(plyr);library(dplyr);library(tidyr)
library(reshape2);library(codyn);library(ggplot2)
library(xtable);library(piecewiseSEM);library(MuMIn)
library(mice)
##################### Set ggplot2 theme##############################
theme_set(theme_bw())
theme_update( panel.grid.major=element_blank(), panel.grid.minor=element_blank(),
strip.background = element_blank())