This package defines two S4 classes
'HomogList': a list in which all elements must be the same class
'DataFrameConst': a data frame with optional required columns and classes, or general constraints.
For each of these classes, there are functions that easily create a subclass.
It also defines the most common methods [<-
,
[[<-
, $<-
, c
, cbind2
,
rbind2
for these classes so that the constraints
are checked when data in the objects are updated.
See https://github.com/jrnold/DataFrameConstr for example code.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.