folderh
.Creates an object of class folderh
by appending a data frame to an object of class folderh
.
The appended data frame will be the first or last element of the returned folderh
.
appendtofolderh(fh, df, key, after = FALSE)
Returns an object of class folderh
, that is a list of \(n+1\) data frames where \(n\) is the number of data frames of fh
.
The value of the attribute attr(, "keys")
is c(key, attr(fh, "keys"))
if after = FALSE
), c(attr(fh, "keys"), key)
otherwise.
object of class folderh
.
data frame to be appended to fh
.
character string. The key defining the relation \(1 to N\) between df
and the first (if after = FALSE, the default value) or last (if after = TRUE) data frame of fh
.
logical. If FALSE
(default), the data frame df
is related to the first data frame of fh
, and is appended as the first element of the returned folderh.
If TRUE
, df
is related to the last data frame of fh
and becomes the last element of the returned folderh.
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
folderh
.