diff options
-rw-r--r-- | man/read.odf.idframe.Rd | 40 | ||||
-rw-r--r-- | man/read.xls.idframe.Rd | 52 |
2 files changed, 0 insertions, 92 deletions
diff --git a/man/read.odf.idframe.Rd b/man/read.odf.idframe.Rd deleted file mode 100644 index fcf4c40..0000000 --- a/man/read.odf.idframe.Rd +++ /dev/null @@ -1,40 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/readData.R -\name{read.odf.idframe} -\alias{read.odf.idframe} -\title{Reading from .odf documents} -\usage{ -read.odf.idframe(file, sheetName, header = TRUE, ninputs = 0, Ts = 1, - unit = c("seconds", "minutes", "hours", "days")[1], ...) -} -\arguments{ -\item{file}{the path to the file to read} - -\item{sheetName}{a character string with the sheet name} - -\item{header}{a logical value indicating whether the first row corresponding to -the first element of the rowIndex vector contains the names of the variables.} - -\item{ninputs}{the number of input columns. (Default: 0)} - -\item{Ts}{sampling interval (Default: 1)} - -\item{unit}{Time Unit (Default: "seconds")} - -\item{...}{additional arguments to be passed to the \code{\link[xlsx]{read.xlsx2}} function} -} -\value{ -an idframe object -} -\description{ -Read the contents of an a .odf document into a \code{idframe} object. -} -\details{ -The \code{read.odf.idframe} function uses the \code{\link[gnumeric]{read.gnumeric.sheet}} function, -provided by the \pkg{xlsx} package, to read data from a .odf file and then calls the -\code{\link{read.idframe}} function to read the data into a idframe object -} -\seealso{ -\code{\link[xlsx]{read.xlsx2}} -} - diff --git a/man/read.xls.idframe.Rd b/man/read.xls.idframe.Rd deleted file mode 100644 index a7123bb..0000000 --- a/man/read.xls.idframe.Rd +++ /dev/null @@ -1,52 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/readData.R -\name{read.xls.idframe} -\alias{read.xls.idframe} -\title{Read the contents of a worksheet into a idframe object} -\usage{ -read.xls.idframe(file, sheetName, header = TRUE, ninputs = 0, Ts = 1, - unit = c("seconds", "minutes", "hours", "days")[1], ...) -} -\arguments{ -\item{file}{the path to the file to read} - -\item{sheetName}{a character string with the sheet name} - -\item{header}{a logical value indicating whether the first row corresponding to -the first element of the rowIndex vector contains the names of the variables.} - -\item{ninputs}{the number of input columns. (Default: 0)} - -\item{Ts}{sampling interval (Default: 1)} - -\item{unit}{Time Unit (Default: "seconds")} - -\item{...}{additional arguments to be passed to the \code{\link[xlsx]{read.xlsx2}} function} -} -\value{ -an idframe object -} -\description{ -Read the contents of an excel worksheet into a \code{idframe} object. -} -\details{ -The \code{read.xlsx.idframe} function uses the \code{\link[xlsx]{read.xlsx2}} function, -provided by the \pkg{xlsx} package, to read data from an excel file and then calls the -\code{\link{read.idframe}} function to read the data into a idframe object - -The function requires the java runtime to be installed on the system (Requirement of -the \pkg{xlsx} package). -} -\examples{ -library(xlsx) -dataMatrix <- data.frame(matrix(rnorm(1000),ncol=5)) -colnames(dataMatrix) <- c("u1","u2","y1","y2","y3") -write.xlsx2(dataMatrix,file="test.xlsx",row.names=FALSE) - -data <- read.xls.idframe("test.xlsx","Sheet1",ninputs=2,unit="minutes") - -} -\seealso{ -\code{\link[xlsx]{read.xlsx2}} -} - |