Description Usage Arguments Value See Also Examples
View source: R/bayesianSTmodel.R
a function to detect outlier point in time-course using a CARBayesST modelling
1 | outlierCARBayesST(modelin, datain, threshold, trait)
|
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...) |
a plot of fitted vs. residuals and a dataset with a column identifying the outlier points
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.