logFileProducer: To display a table to log file

Description Usage Arguments Value Author(s)

Description

Simple tool to display a table to log file.

Usage

 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
26
logFileProducer(reason, action, displayTable, displayColumn, changedVariable,
  fromTo)


  ## S4 method for signature 
## 'character,character,data.table,character,character,character'
logFileProducer(reason,
  action, displayTable, displayColumn, changedVariable, fromTo)


  ## S4 method for signature 
## 'character,character,data.table,missing,character,character'
logFileProducer(reason,
  action, displayTable, changedVariable, fromTo)


  ## S4 method for signature 
## 'character,character,data.table,character,missing,missing'
logFileProducer(reason,
  action, displayTable, displayColumn)


  ## S4 method for signature 
## 'character,character,data.table,missing,missing,missing'
logFileProducer(reason,
  action, displayTable)

Arguments

reason

character, Reason to trigger an action.

action

character, Specifies action from one of removed, no and changed.

displayTable

data.table, A table of interest

displayColumn

character, Specifies which column(s) will be displayed in the log file.

changedVariable,

charcater, Specifies the variable that has been modified, must be present if action is changed.

fromTo

character, This is two vectors character. Specifies columns that before and after alteration. Must be present when action is set as changed.

Value

A tring of text

Author(s)

Yong Luo


bcgov/BCForestInventory documentation built on Feb. 11, 2018, 4:17 p.m.