function producing a graphic of detected outlier plants from funcDetectOutlierPlantMaize() function

plotDetectOutlierPlantMaize(datain, outmodels, x, y, genotype, idColor, idFill)

Arguments

datain

input dataframe, a spatio-temporal data.frame

outmodels

the output object from funcDetectOutlierPlantMaize() function containing the detected outliers (either small or big) 'theobject$smallOutliers' or 'theobject$bigOutliers'

x

character, name of the time variable in datain

y

character, name of the variable in datain to draw

genotype

character, name of the genotype variable in datain

idColor

character, name of the treatment variable in datain to differentiate the curves

idFill

character, name of the repetition variable in the datain to differentiate the outlier curves

Value

a graphic

Details

see funcDetectOutlierPlantMaize function

Examples

# \donttest{ #plotDetectOutlierPlantMaize(datain=PAdata, # outmodels=test$smallOutlier, # x="Time", # y="Biomass_Estimated", # genotype="Genotype", # idColor="Treatment", # idFill="plantId") # }