Module: ProcGgplot

Includes:
ProcSettingModule
Defined in:
lib/statsailr_procs_base/proc_setting/proc_ggplot.rb

Instance Method Summary collapse

Instance Method Details

#setting_for_finalizer(setting) ⇒ Object



42
43
44
45
46
47
48
49
50
51
# File 'lib/statsailr_procs_base/proc_setting/proc_ggplot.rb', line 42

def setting_for_finalizer( setting )
  setting.libname = nil
  setting.envname = "sts_ggplot"
  setting.func_name = "finalizer"
  setting.main_arg_and_how_to_treat = [ nil, nil , :allow_nil]
  setting.runtime_args = {"gg" => previous_or(RBridge::r_nil()) }
  setting.store_result = false
  setting.print_opt = false
  setting.plot_opt = true
end

#setting_for_geom_histogram(setting) ⇒ Object



31
32
33
34
35
36
37
38
39
40
# File 'lib/statsailr_procs_base/proc_setting/proc_ggplot.rb', line 31

def setting_for_geom_histogram( setting )
  setting.libname = nil
  setting.envname = "sts_ggplot"
  setting.func_name = "geom_histogram_wrapper"
  setting.main_arg_and_how_to_treat = [ "params" , :read_named_args_as_named_strvec, :allow_nil]
  setting.runtime_args = {"gg" => previous_or(RBridge::r_nil()) }
  setting.store_result = true
  setting.print_opt = false
  setting.plot_opt = false
end

#setting_for_geom_point(setting) ⇒ Object



20
21
22
23
24
25
26
27
28
29
# File 'lib/statsailr_procs_base/proc_setting/proc_ggplot.rb', line 20

def setting_for_geom_point( setting )
  setting.libname = nil
  setting.envname = "sts_ggplot"
  setting.func_name = "geom_point_wrapper"
  setting.main_arg_and_how_to_treat = [ "params" , :read_named_args_as_named_strvec, :allow_nil]
  setting.runtime_args = {"gg" => previous_or(RBridge::r_nil()) }
  setting.store_result = true
  setting.print_opt = false
  setting.plot_opt = false
end

#setting_for_mapping(setting) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/statsailr_procs_base/proc_setting/proc_ggplot.rb', line 9

def setting_for_mapping( setting )
  setting.libname = nil
  setting.envname = "sts_ggplot"
  setting.func_name = "mapping"
  setting.main_arg_and_how_to_treat = [ "assoc" , :read_named_args_as_named_strvec, :no_nil]
  setting.runtime_args = {"data" => previous_or(param("data")) }
  setting.store_result = true
  setting.print_opt = false
  setting.plot_opt = false
end