File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Late adults stats pipeline/DRrequiredAgeing/DRrequiredAgeingPackage/R Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -576,26 +576,6 @@ getMethodi = function(var,
576576 return (method )
577577}
578578
579- # Equation map
580- getEquation = function (var ,
581- equationMap = NULL )
582- {
583- matched001 = sapply(names(equationMap ), grepl , var )
584- if (sum(matched001 ) > 0 ) {
585- if (sum(matched001 ) > 1 ) {
586- equationMapReduced = equationMap [matched001 ]
587- mappedPatternLengths = nchar(names(equationMapReduced ))
588- equation =
589- unlist(equationMapReduced [which(mappedPatternLengths == max(mappedPatternLengths ))])
590- } else {
591- equation = unlist(equationMap [matched001 ])
592- }
593- } else {
594- equation = ' withWeight'
595- }
596- return (equation )
597- }
598-
599579local = function (x = NULL ){
600580 r = system.file(" extdata" , package = " DRrequiredAgeing" )
601581 return (r )
You can’t perform that action at this time.
0 commit comments