partition_code

0th

Percentile

partition_code

creates the partition code for testing and learning data.

Usage
partition_code(data = "datos", p = 50, variable = NULL,
  semilla = 5, perm.semilla = FALSE)
Arguments
data

the name of the current data.

p

the percentage of data for the learning data.

variable

the name of the variable to be predicted.

semilla

a number with the random seed.

perm.semilla

a logical value indicating whether the random seed should be used.

Aliases
  • partition_code
Examples
# NOT RUN {
x <- partition_code('iris', 75, 'Species', 555, TRUE)
exe(x)
head(datos.aprendizaje)
head(datos.prueba)

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.