File: timeSeries-deprecated.Rd

package info (click to toggle)
r-cran-timeseries 4041.111-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,704 kB
  • sloc: makefile: 14
file content (69 lines) | stat: -rw-r--r-- 1,705 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
\name{timeSeries-deprecated}

\alias{seriesData} % removed

\alias{removeNA}
\alias{substituteNA}
\alias{interpNA}



\title{Deprecated functions in 'timeSeries' package}

\usage{
removeNA(x, \dots)
substituteNA(x, type = c("zeros", "mean", "median"), \dots)
interpNA(x, method = c("linear", "before", "after"), \dots)
}

\arguments{

  \item{x}{

    a numeric matrix, or any other object which can be transformed into
    a matrix through \code{x = as.matrix(x, ...)}. If \code{x} is a
    vector, it will be transformed into a one-dimensional matrix.

  }

  \item{method}{
    for \code{interpNA}, how to interpolate the matrix column
    by column, see Section \sQuote{Details}.

  }
  \item{type}{
    Three alternative methods are provided to remove NAs from the
    data: 
    \code{type="zeros"} replaces the missing values with zeros,
    \code{type="mean"} replaces the missing values with the column mean,
    \code{type="median"} replaces the missing values with the column
    median.
  }
  \item{\dots}{
    arguments to be passed to the function \code{as.matrix}.
  }
}

\description{
  
  \tabular{ll}{

    \code{seriesData} (removed) extracts data slot from a 'timeSeries'.
    use \code{\link{as.matrix}} instead. \cr
    % \item{object}{
    %     [is][seriesData][seriesPositions][show][summary] -    
    %     an object of class \code{timeSeries}.
    %     }


    % \code{.time.timeSeries} \tab Extracts the time(s) from a
    % 'timeSeries', use \code{\link{time}} instead. \cr

    
    % \code{seriesPositions} \tab Extracts positions slot from a 'timeSeries', \cr
    % \code{newPositions<-} \tab Modifies positions of a 'timeSeries' object, \cr
  }

}

\keyword{internal}