File: changeData.Rd

package info (click to toggle)
r-cran-mlr 2.19.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,264 kB
  • sloc: ansic: 65; sh: 13; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% 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}