Skip to contents

renew.specific_models() is a renew method that renews an instance of a class by updating it with new data. This method is implemented for the Candidate models lookup table The function is called for its side effects and does not return a value.

renew.specific_predictors() is a renew method that renews an instance of a class by updating it with new data. This method is implemented for the Candidate predictors lookup table The function is called for its side effects and does not return a value.

renew method applied to SpecificProject

renew method applied to SpecificMixed

Usage

renew.specific_models(
  x,
  short_name_chr = NA_character_,
  long_name_chr = NA_character_,
  control_chr = NA_character_,
  family_chr = NA_character_,
  fn_chr = NA_character_,
  start_chr = NA_character_,
  predn_type_chr = NA_character_,
  tfmn_chr = NA_character_,
  tfmn_for_bnml_lgl = NA,
  fixed_acronym_chr = NA_character_,
  mixed_acronym_chr = NA_character_,
  mixed_type_chr = NA_character_,
  with_chr = NA_character_,
  filter_cdn_1L_chr = NA_character_,
  new_cases_r3 = NULL,
  new_ready4_dict_r3 = deprecated(),
  slice_indcs_int = NA_integer_
)

# S4 method for specific_models
renew(
  x,
  short_name_chr = NA_character_,
  long_name_chr = NA_character_,
  control_chr = NA_character_,
  family_chr = NA_character_,
  fn_chr = NA_character_,
  start_chr = NA_character_,
  predn_type_chr = NA_character_,
  tfmn_chr = NA_character_,
  tfmn_for_bnml_lgl = NA,
  fixed_acronym_chr = NA_character_,
  mixed_acronym_chr = NA_character_,
  mixed_type_chr = NA_character_,
  with_chr = NA_character_,
  filter_cdn_1L_chr = NA_character_,
  new_cases_r3 = NULL,
  new_ready4_dict_r3 = deprecated(),
  slice_indcs_int = NA_integer_
)

renew.specific_predictors(
  x,
  short_name_chr = NA_character_,
  long_name_chr = NA_character_,
  min_val_dbl = NA_real_,
  max_val_dbl = NA_real_,
  class_chr = NA_character_,
  increment_dbl = NA_real_,
  class_fn_chr = NA_character_,
  mdl_scaling_dbl = NA_real_,
  covariate_lgl = NA,
  filter_cdn_1L_chr = NA_character_,
  new_cases_r3 = NULL,
  new_ready4_dict_r3 = deprecated(),
  slice_indcs_int = NA_integer_
)

# S4 method for specific_predictors
renew(
  x,
  short_name_chr = NA_character_,
  long_name_chr = NA_character_,
  min_val_dbl = NA_real_,
  max_val_dbl = NA_real_,
  class_chr = NA_character_,
  increment_dbl = NA_real_,
  class_fn_chr = NA_character_,
  mdl_scaling_dbl = NA_real_,
  covariate_lgl = NA,
  filter_cdn_1L_chr = NA_character_,
  new_cases_r3 = NULL,
  new_ready4_dict_r3 = deprecated(),
  slice_indcs_int = NA_integer_
)

# S4 method for SpecificProject
renew(x, new_val_xx, type_1L_chr = "results", what_1L_chr = "prefd_mdls", ...)

# S4 method for SpecificMixed
renew(
  x,
  new_val_xx = NULL,
  a_Ready4useRepos,
  type_1L_chr = "results",
  what_1L_chr = "dv_ls",
  ...
)

Arguments

x

An object of class SpecificMixed

short_name_chr

Short name (a character vector), Default: 'NA'

long_name_chr

Long name (a character vector), Default: 'NA'

control_chr

Control (a character vector), Default: 'NA'

family_chr

Family (a character vector), Default: 'NA'

fn_chr

Function (a character vector), Default: 'NA'

start_chr

Start (a character vector), Default: 'NA'

predn_type_chr

Prediction type (a character vector), Default: 'NA'

tfmn_chr

Transformation (a character vector), Default: 'NA'

tfmn_for_bnml_lgl

Transformation for binomial (a logical vector), Default: NA

fixed_acronym_chr

Fixed acronym (a character vector), Default: 'NA'

mixed_acronym_chr

Mixed acronym (a character vector), Default: 'NA'

mixed_type_chr

Mixed type (a character vector), Default: 'NA'

with_chr

With (a character vector), Default: 'NA'

filter_cdn_1L_chr

Filter condition (a character vector of length one), Default: 'NA'

new_cases_r3

New cases (a ready4 S3), Default: NULL

new_ready4_dict_r3

New ready4 dictionary (a ready4 S3), Default: deprecated()

slice_indcs_int

Slice indices (an integer vector), Default: NA

min_val_dbl

Minimum value (a double vector), Default: NA

max_val_dbl

Maximum value (a double vector), Default: NA

class_chr

Class (a character vector), Default: 'NA'

increment_dbl

Increment (a double vector), Default: NA

class_fn_chr

Class function (a character vector), Default: 'NA'

mdl_scaling_dbl

Model scaling (a double vector), Default: NA

covariate_lgl

Covariate (a logical vector), Default: NA

new_val_xx

New value (an output object of multiple potential types), Default: NULL

type_1L_chr

Type (a character vector of length one), Default: 'results'

what_1L_chr

What (a character vector of length one), Default: 'dv_ls'

...

Additional arguments

a_Ready4useRepos

PARAM_DESCRIPTION

Value

x (An object)

x (An object)

x (An object of class SpecificProject)

x (An object of class SpecificMixed)