append_rows: Append dummy rows

View source: R/deepDummy.r

append_rowsR Documentation

Append dummy rows

Description

Append dummy rows

Usage

append_rows(dataset, columns = NULL, n = 1L, type = c("copy", "minmax"))

Arguments

dataset

A data set, usually a data frame.

columns

The names or indices of the columns to be included for creating dummy rows; if NULL (default), all columns are included.

n

The number of repeating sample blocks or new samples.

type

The type of creating dummy rows.
copy The mode copy repeats the entire dataset n times.
minmax The mode minmax creates n synthetic rows based upon the minimum and maximum values of each column.

Value

The dataset consisting of selected columns with dummy rows.

See Also

dummify.

Other Dummifying: dummify(), dummify_multilabel(), effectcoding(), one_hot_decode(), one_hot_encode(), remove_columns(), resample_imbalanced(), sparse_encode()


stschn/deepANN documentation built on June 25, 2024, 7:27 a.m.