View source: R/summaryMethods.R
summary.dataRobotModel | R Documentation |
These functions extend R's generic summary function to the DataRobot S3 object classes dataRobotModel, dataRobotProject, listOfBlueprints, listOfFeaturelists, listOfModels, and projectSummaryList.
## S3 method for class 'dataRobotModel'
summary(object, ...)
## S3 method for class 'dataRobotProject'
summary(object, ...)
## S3 method for class 'listOfBlueprints'
summary(object, nList = 6, ...)
## S3 method for class 'listOfFeaturelists'
summary(object, nList = 6, ...)
## S3 method for class 'listOfModels'
summary(object, nList = 6, ...)
## S3 method for class 'projectSummaryList'
summary(object, nList = 6, ...)
object |
The S3 object to be summarized. |
... |
list. Not currently used. |
nList |
integer. For the 'listOf' class objects, the first nList elements of the list are summarized in the dataframe in the second element of the list returned by the function. |
An object-specific summary: for objects of class dataRobotModel and dataRobotProject, this summary is a character vector giving key characteristics of the model or project, respectively; for the other object classes, the value is a two-element list where the first element is a brief summary character string and the second element is a more detailed dataframe with nList elements. The summary of object has the following components: modelType, expandedModel (constructed from modelType and processes), modelId, blueprintId, and projectId.
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
modelId <- "5996f820af07fc605e81ead4"
model <- GetModel(projectId, modelId)
summary(model)
## End(Not run)
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
project <- GetProject(projectId)
summary(project)
## End(Not run)
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
blueprints <- ListBlueprints(projectId)
summary(blueprints)
## End(Not run)
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
featureList <- CreateFeaturelist(projectId, "myFeaturelist", c("feature1", "feature2"))
summary(featureList)
## End(Not run)
## Not run:
projectId <- "59a5af20c80891534e3c2bde"
models <- ListModels(projectId)
summary(models)
## End(Not run)
## Not run:
projectSummary <- ListProjects()
summary(projectSummary)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.