https://github.com/berndbischl/mlr
Raw File
Tip revision: d1eee403945f203115c60a6ad6d46343e15fbd2f authored by pat-s on 20 November 2020, 19:10:22 UTC
add .lintr
Tip revision: d1eee40
changeData.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Task_operators.R
\name{changeData}
\alias{changeData}
\title{Change Task Data}
\usage{
changeData(task, data, costs, weights, coordinates)
}
\arguments{
\item{task}{(\link{Task})\cr
The task.}

\item{data}{(\link{data.frame})\cr
The new data to associate with the task. The names and types of the feature columns must match with the old data.}

\item{costs}{([data.frame`\cr
Optional: cost matrix.}

\item{weights}{(\link{numeric})\cr
Optional: weight vector.}
}
\description{
Mainly for internal use. Changes the data associated with a task, without modifying other task properties.
}
\keyword{internal}
back to top