outlierCARBayesST: outlierCARBayesST

Description Usage Arguments Value See Also Examples

View source: R/bayesianSTmodel.R

Description

a function to detect outlier point in time-course using a CARBayesST modelling

Usage

1
outlierCARBayesST(modelin, datain, threshold, trait)

Arguments

modelin

a CARBayesST object

datain

input dataframe of parameters used in the CARBayesST modelling

threshold,

numeric threshold for influence with standardized residuals

trait,

character, trait of interest to model (example plantHeight...)

Value

a plot of fitted vs. residuals and a dataset with a column identifying the outlier points

See Also

CARBayesST, ST.CARanova

Examples

1
2
3
4
5
 test<-fitCARBayesST(datain=mydata,xvar="thermalTime",trait="plantHeight",k=2,
     graphDist=TRUE,burnin=10,n.sample=110,
     formulaModel=as.formula(plantHeight~scenario+genotypeAlias),
     typeModel="anova",verbose=FALSE)
 test2<-outlierCARBayesST(modelin=test[[1]],datain=test[[2]],threshold=4,trait="plantHeight")

sanchezi/phisStatR documentation built on Nov. 14, 2019, 7:10 p.m.