suggestInitialLowerRange {CGNM} | R Documentation |

## suggestInitialLowerRange

### Description

Suggest initial lower range based on the profile likelihood. The user can re-run CGNM with this suggested initial range so that to improve the convergence.

### Usage

```
suggestInitialLowerRange(logLocation, alpha = 0.25, numBins = NA)
```

### Arguments

`logLocation` |
(required input) |

`alpha` |
(default: 0.25) |

`numBins` |
(default: NA) |

### Value

*A numerical vector* of suggested initial lower range based on profile likelihood.

### Examples

```
## Not run:
model_analytic_function=function(x){
observation_time=c(0.1,0.2,0.4,0.6,1,2,3,6,12)
Dose=1000
F=1
ka=x[1]
V1=x[2]
CL_2=x[3]
t=observation_time
Cp=ka*F*Dose/(V1*(ka-CL_2/V1))*(exp(-CL_2/V1*t)-exp(-ka*t))
log10(Cp)
}
observation=log10(c(4.91, 8.65, 12.4, 18.7, 24.3, 24.5, 18.4, 4.66, 0.238))
CGNM_result=Cluster_Gauss_Newton_method(
nonlinearFunction=model_analytic_function,
targetVector = observation,
initial_lowerRange = c(0.1,0.1,0.1), initial_upperRange = c(10,10,10),
num_iter = 10, num_minimizersToFind = 100, saveLog=TRUE)
suggestInitialLowerRange("CGNM_log")
## End(Not run)
```

*CGNM*version 0.9.0 Index]