summaryrefslogtreecommitdiff
path: root/man/dataSlice.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/dataSlice.Rd')
-rw-r--r--man/dataSlice.Rd11
1 files changed, 6 insertions, 5 deletions
diff --git a/man/dataSlice.Rd b/man/dataSlice.Rd
index 5ff6f00..f0c1cd6 100644
--- a/man/dataSlice.Rd
+++ b/man/dataSlice.Rd
@@ -1,4 +1,4 @@
-% Generated by roxygen2 (4.1.1): do not edit by hand
+% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/preprocess.R
\name{dataSlice}
\alias{dataSlice}
@@ -20,13 +20,13 @@ to be sampled.}
an idframe object
}
\description{
-\code{dataSlice} is a subsetting method for objects of class \code{idframe}. It
+\code{dataSlice} is a subsetting method for objects of class \code{idframe}. It
extracts the subset of the object \code{data} observed between indices \code{start}
-and \code{end}. If a frequency is specified, the series is then re-sampled at the
+and \code{end}. If a frequency is specified, the series is then re-sampled at the
new frequency.
}
\details{
-The dataSlice function extends the \code{\link[stats]{window}}
+The dataSlice function extends the \code{\link[stats]{window}}
function for idframe objects
}
\examples{
@@ -34,7 +34,8 @@ data(cstr)
cstrsub <- dataSlice(cstr,start=200,end=400) # extract between indices 200 and 400
cstrTrain <- dataSlice(cstr,end=4500) # extract upto index 4500
cstrTest <- dataSlice(cstr,start=6501) # extract from index 6501 till the end
-cstr_new <- dataSlice(cstr,freq=0.5) # resample data at half the original frequency
+cstr_new <- dataSlice(cstr,freq=0.5) # resample data at half the original frequency
+
}
\seealso{
\code{\link[stats]{window}}