# Visualise a fixed climate window generated for dataframes Mass and MassClimate
data(MassOutput)
data(Mass)
data(MassClimate)
single <- singlewin(xvar = list(Temp = MassClimate$Temp),
cdate = MassClimate$Date, bdate = Mass$Date,
baseline = lm(Mass ~ 1, data = Mass),
furthest = 72, closest = 15,
stat = "mean", func = "lin",
type = "fixed", cutoff.day = 20, cutoff.month = 5,
cmissing = FALSE, cinterval = "day")
plotall(dataset = MassOutput, bestmodel = single$bestmodel,
bestmodeldata = single$bestmodeldata,
cw1 = 0.95, cw2 = 0.5, cw3 = 0.25, histq = 0.99, title = "Mass")Run the code above in your browser using DataLab