Learn R Programming

dtwSat (version 0.1.0)

plotClassify: Plotting classification of dtwSat object

Description

Method for plotting the classification of time intervals

Usage

plotClassify(x, attr = NULL, ...)

Arguments

x
An dtwSat-class object
attr
A vector of integer or a character indicating the attribute for plotting, i.e. the column of the query. Default is 1
...
additional arguments passed to classfyIntervals

Value

object of class ggplot

See Also

dtwSat, plotPath, plotAlignment, and plotCostMatrix

Examples

Run this code
malig = mtwdtw(query.list, template, weight = "logistic",
               alpha = 0.1, beta = 100)

gp = plotClassify(x=malig, attr=c("ndvi","evi"), from=as.Date("2009-09-01"),
             to=as.Date("2013-09-01"), by = "6 month",
             normalized=TRUE, overlap=.7)
gp

Run the code above in your browser using DataLab