Learn R Programming

dcmle (version 0.2-1)

sourceDcExample: List, Source, Show and Run Data Cloning Examples

Description

List, source, show and run data cloning examples.

Usage

listDcExamples()
sourceDcExample(topic, assign.global = TRUE)

Arguments

topic
character, name of a data set.
assign.global
logical, if the object topic should be assigned to the global environment.

Value

  • listDcExamples lists the examples available at dclone website at http://dcr.r-forge.r-project.org/examples stored in index.txt. sourceDcExample sources the example files at dclone website at http://dcr.r-forge.r-project.org/examples. The default path to the examples directory is stored by the getOption("dcmle.href") and can be changed if required.

See Also

"dcmle", dcmle

Examples

Run this code
## index of currently available exampes
listDcExamples()

## source paramecium example
sourceDcExample("paramecium")
paramecium@model
custommodel(paramecium@model)
paramecium

Run the code above in your browser using DataLab