summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/predict.detrend.Rd2
-rw-r--r--man/read.table.idframe.Rd2
-rw-r--r--man/read.xls.idframe.Rd2
3 files changed, 3 insertions, 3 deletions
diff --git a/man/predict.detrend.Rd b/man/predict.detrend.Rd
index 01a27af..41667c7 100644
--- a/man/predict.detrend.Rd
+++ b/man/predict.detrend.Rd
@@ -21,7 +21,7 @@ Detrended \code{idframe} object based on linear trend fit
\examples{
data(cstr)
train <- dataSlice(cstr,end=5000) # subset the first 5000 indices
-test <- dataSlice(distill,start=6001) # subset from index 6001 till the end
+test <- dataSlice(cstr,start=6001) # subset from index 6001 till the end
fit <- detrend(train)
Ztrain <- predict(fit)
Ztest <- predict(fit,test)
diff --git a/man/read.table.idframe.Rd b/man/read.table.idframe.Rd
index 276b32a..f8db672 100644
--- a/man/read.table.idframe.Rd
+++ b/man/read.table.idframe.Rd
@@ -50,7 +50,7 @@ should contain the frequencies.
\examples{
dataMatrix <- data.frame(matrix(rnorm(1000),ncol=5))
colnames(dataMatrix) <- c("u1","u2","y1","y2","y3")
-write.csv(dataMatrix,file="test.csv",row.names=F)
+write.csv(dataMatrix,file="test.csv",row.names=FALSE)
data <- read.table.idframe("test.csv",ninputs=2,tUnit="min")
}
diff --git a/man/read.xls.idframe.Rd b/man/read.xls.idframe.Rd
index 84ce4f9..c33a703 100644
--- a/man/read.xls.idframe.Rd
+++ b/man/read.xls.idframe.Rd
@@ -54,7 +54,7 @@ the \pkg{xlsx} package).
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=F)
+write.xlsx2(dataMatrix,file="test.xlsx",row.names=FALSE)
data <- read.xls.idframe("test.xlsx","Sheet1",ninputs=2,tUnit="min")
}