14 02, 2016

R routines for modeling coarse woody debris dynamics

By | 2018-02-12T10:40:12+00:00 February 14th, 2016|My Blog, Programming Language|0 Comments

bioAgro = read.table("BioAgro.txt",header=T,sep="\t") bioAgro$Block=as.factor(bioAgro$Block) str(bioAgro) summary(bioAgro) fhg odel1=lm(Leaf_mass_g~Tmt + Spp + Interaction + Block,data=bioAgro) summary(model1) anova(model1) library(nlme) model1.gls =gls(Leaf_mass_g ~ Tmt + Spp + Interaction + factor(Block), method="REML",data=bioAgro) summary(model1.gls) [...]