autoplot.TaskDens | R Documentation |
Generates plots for TaskDens.
## S3 method for class 'TaskDens'
autoplot(object, type = "dens", theme = theme_minimal(), ...)
object |
(TaskDens). |
type |
(
|
theme |
( |
... |
( |
ggplot2::ggplot()
object.
library(mlr3)
library(mlr3proba)
library(mlr3viz)
library(ggplot2)
task = tsk("precip")
task$head()
autoplot(task, bins = 15)
autoplot(task, type = "freq", bins = 15)
autoplot(task, type = "overlay", bins = 15)
autoplot(task, type = "freqpoly", bins = 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.