diff --git a/.Rbuildignore b/.Rbuildignore index c76b59a..dd00987 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -7,6 +7,8 @@ corinho.R .git .gitignore ^README\.Rmd$ +^figure$ +^.*\.png$ ^README-.*\.png$ ^cran-comments\.md ^NEWS\.md$ diff --git a/R/class-dtwSat.R b/R/class-dtwSat.R index 7fced75..62ed566 100644 --- a/R/class-dtwSat.R +++ b/R/class-dtwSat.R @@ -138,7 +138,7 @@ setMethod("show", signature = signature(object="dtwSat"), definition = function(object){ cat("Time-Weighted DTW alignment object\n") - cat("Alignments:\n") + cat("Number of alignments:",nrow(getAlignments(object)),"\n") print(head(getAlignments(object))) invisible(NULL) } diff --git a/README-alig.png b/README-alig.png deleted file mode 100644 index b368c2a..0000000 Binary files a/README-alig.png and /dev/null differ diff --git a/README-classify.png b/README-classify.png deleted file mode 100644 index 259ca4a..0000000 Binary files a/README-classify.png and /dev/null differ diff --git a/README-filter.png b/README-filter.png deleted file mode 100644 index bb1a6b4..0000000 Binary files a/README-filter.png and /dev/null differ diff --git a/README-path.png b/README-path.png deleted file mode 100644 index 0df9cbf..0000000 Binary files a/README-path.png and /dev/null differ diff --git a/README.Rmd b/README.Rmd index 8825425..728a250 100644 --- a/README.Rmd +++ b/README.Rmd @@ -104,7 +104,6 @@ df2 = melt(data.frame(Time=index(sy), sy), id="Time") gp2 = ggplot(df2, aes(x=Time, y=value, group=variable, colour=variable)) + geom_line() + ylab("Value") -gp2 grid.arrange(gp1,gp2,nrow=2) ``` diff --git a/README.md b/README.md index b4fcf84..a575315 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ print(alig) ``` ## Time-Weighted DTW alignment object -## Alignments: +## Number of alignments: 4 ## query from to distance normalizedDistance ## 1 1 2011-10-04 2012-01-28 3.956483 0.03140066 ## 2 1 2012-10-06 2013-02-15 4.008838 0.03181617 @@ -140,16 +140,11 @@ df2 = melt(data.frame(Time=index(sy), sy), id="Time") gp2 = ggplot(df2, aes(x=Time, y=value, group=variable, colour=variable)) + geom_line() + ylab("Value") -gp2 -``` - -![plot of chunk define-demo-plot-smoothing](figure/define-demo-plot-smoothing-1.png) -```r grid.arrange(gp1,gp2,nrow=2) ``` -![plot of chunk define-demo-plot-smoothing](figure/define-demo-plot-smoothing-2.png) +![plot of chunk define-demo-plot-smoothing](figure/define-demo-plot-smoothing-1.png) diff --git a/figure/define-demo-code-1.png b/figure/define-demo-code-1.png deleted file mode 100644 index 85dcb5d..0000000 Binary files a/figure/define-demo-code-1.png and /dev/null differ diff --git a/figure/define-demo-plot-smoothing-1.png b/figure/define-demo-plot-smoothing-1.png index 2df6a17..b828866 100644 Binary files a/figure/define-demo-plot-smoothing-1.png and b/figure/define-demo-plot-smoothing-1.png differ diff --git a/figure/define-demo-plot-smoothing-2.png b/figure/define-demo-plot-smoothing-2.png deleted file mode 100644 index b828866..0000000 Binary files a/figure/define-demo-plot-smoothing-2.png and /dev/null differ