Skip to content

Commit 9521d23

Browse files
committed
Refactor mainAgeing function
1 parent ec90eb2 commit 9521d23

File tree

1 file changed

+1
-3
lines changed
  • Late adults stats pipeline/DRrequiredAgeing/DRrequiredAgeingPackage/R

1 file changed

+1
-3
lines changed

Late adults stats pipeline/DRrequiredAgeing/DRrequiredAgeingPackage/R/main.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ mainAgeing = function(file = NULL ,
9898
# Config files
9999
message0('Loading configuration ...')
100100
methodmap = readConf('MethodMap.conf')
101-
equationmap = readConf('EquationMap.conf')
102101
CategoryMap = readConf('CategoryMap.conf')
103102
MergeCategoryParameters = read.csv(file = file.path(local(), 'MergeParameterList.txt'))
104103
initial = readConf('Initialize.conf')
@@ -802,8 +801,7 @@ mainAgeing = function(file = NULL ,
802801
data = a@datasetPL
803802
) <= .2 &&
804803
EnoughWeightForTheSexGenInteraction(a@datasetPL) ,
805-
getEquation(var = parameter,
806-
equationMap = equationmap),
804+
'withWeight',
807805
'withoutWeight'
808806
)
809807
} else{

0 commit comments

Comments
 (0)