inst/examples/RawObjectStructure.S3.r

\dontrun{

## Informal use (intended mainly for rapid prototyping) //
## Takes *any* object and simply changes the class attributes
RawObjectStructure.S3(data.frame())  
RawObjectStructure.S3("example of other input")  

## Formal use (explicitly using field constructor arguments) //
RawObjectStructure.S3()
RawObjectStructure.S3(struc = getRawStructure(list(a = 1, b = 2)))

## Recommended: inlcude namespace //
listr::RawObjectStructure.S3(struc = getRawStructure(list(a = 1, b = 2)))

}
rappster/listr documentation built on May 26, 2019, 11:21 p.m.