Description Usage Arguments Value Note Author(s) See Also Examples
All functions (S3) that are provided for numdfr
are also provided
for numdfr.rep
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 | ## S3 method for class 'numdfr.rep'
x[i, j, returnAsMatrix = drop, drop = FALSE]
## S3 replacement method for class 'numdfr.rep'
x[i, j] <- value
## S3 method for class 'numdfr.rep'
length(x)
## S3 method for class 'numdfr.rep'
dimnames(x)
## S3 replacement method for class 'numdfr.rep'
dimnames(x) <- value
## S3 method for class 'numdfr.rep'
dim(x)
## S3 method for class 'numdfr.rep'
names(x)
## S3 replacement method for class 'numdfr.rep'
names(x) <- value
is.numdfr.rep(x)
## S3 method for class 'numdfr.rep'
as.double(x,...)
## S3 method for class 'numdfr.rep'
is.na(x)
## S3 method for class 'numdfr.rep'
str(object,...)
## S3 method for class 'numdfr.rep'
as.list(x, returnFactors=TRUE,...)
## S3 method for class 'numdfr.rep'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
## S3 method for class 'numdfr.rep'
findCatColNums(dfr)
## S3 method for class 'numdfr.rep'
findOrderedColNums(dfr)
## S3 method for class 'numdfr.rep'
rbind(..., original.data, ensure.unique.rownames=FALSE, separator=".", postfixcol=NULL, allowemptypostfix=TRUE, deparse.level = 1)
## S3 method for class 'numdfr.rep'
print(x, ..., digits = NULL, quote = FALSE, right = TRUE, row.names = TRUE)
## S3 method for class 'numdfr.rep'
display(dfr)
## S3 method for class 'numdfr.rep'
as.matrix(x, ...)
## S3 method for class 'numdfr.rep'
allLevels(x, onlyNonEmpty=FALSE)
## S3 method for class 'numdfr.rep'
allOrderedFacts(x, onlyNonEmpty=FALSE)
## S3 method for class 'numdfr.rep'
x[[..., exact=TRUE]]
## S3 method for class 'numdfr.rep'
x$name
## S3 method for class 'numdfr.rep'
factorsToDummyVariables(dfr, ...)
## S3 method for class 'numdfr.rep'
originalDataset(x)
|
x,i,j,returnAsMatrix, drop, value, object, returnFactors, row.names,
optional, dfr, ensure.unique.rownames, separator, postfixcol,
allowemptypostfix, deparse.level, digits, quote, right, onlyNonEmpty,
exact, name |
see equally named method for |
original.data |
for |
... |
(typically) ignored |
see equally named method for numdfr
Current implementation needs work (optimization, special case handling,...)
As of today, the assignments have as their only implementation to fail!
originalDataset
simply returns the underlying 'original', repeated dataset (numdfr
).
Nick sabbe
NumDfr
, [
, numdfr
,
[.numdfr
, [<-.numdfr
,
length.numdfr
, dimnames.numdfr
,
dimnames<-.numdfr
, dim.numdfr
,
names.numdfr
, names<-.numdfr
,
is.numdfr
, as.double.numdfr
,
is.na.numdfr
, str.numdfr
,
as.list.numdfr
, as.data.frame.numdfr
,
findCatColNums.numdfr
, rbind.numdfr
,
print.numdfr
, display.numdfr
,
as.matrix.numdfr
, allLevels.numdfr
,
[[.numdfr
, $.numdfr
,
reduce.numdfr
, as.numdfr
,
as.numdfr.rep
, factorsToDummyVariables.numdfr.rep
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 | iris.cpy<-iris
rownames(iris.cpy)<-paste(seq(nrow(iris.cpy)), "_", sep="")
iris.nd<-numdfr(iris.cpy)
samplesomerows1<-sort(sample(nrow(iris.nd), 50, replace=TRUE))
samplesomerows2<-sort(sample(nrow(iris.nd), 50, replace=TRUE))
iris.na<-numdfr(randomNA(iris.cpy, n=0.1))
iris.nd1<-iris.nd[samplesomerows1,]
iris.nd2<-iris.nd[samplesomerows1,]
iris.red1<-reduce(iris.nd1, iris.na)
iris.red2<-reduce(iris.nd2, iris.na)
str(iris.red1)
dimnames(iris.red1)
iris.red<-rbind(iris.red1, iris.red2)
dimnames(iris.red)
str(iris.red)
## Not run: display(iris.red)
#this should give the same results
iris.subred<-iris.red[51:53,]
print(iris.red[51:53,])
print(iris.red2[1:3,])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.