Skip to contents

Optimize algebraic systems which describe thermodynamic binding systems

Usage

opti(
  case,
  lowerBounds,
  upperBounds,
  path,
  additionalParameters,
  npop = 40,
  ngen = 200,
  Topology = "random",
  errorThreshold = -Inf,
  runAsShiny = FALSE
)

Arguments

case

is a character describing which system should be investigated. Either: "hg", "ida" or "gda".

lowerBounds

is a numeric vector defining the lower boundaries of the parameter. In case of hg the order of the parameters is: khd, I0, IHD and ID In case of ida and ga the order of the parameters is: kg, I0, IHD and ID.

upperBounds

is a numeric vector defining the upper boundaries of the parameter. The order is the same as for the lower boundaries.

path

is a filepath which contains tabular x-y data. The concentraion of dye or guest respectivly is assumed to be in the first column. Furthermore, should the corresponding signal be stored in the second column. As an alternative an already loaded data.frame can be passed to the function.

additionalParameters

are required parameters which are specific for each case. In case of hg a numeric vector of length 1 is expected which contains the concentration of the host. In case of ida a numeric vector of length 3 is expected which contains the concentration of the host, dye and the khd parameter. In case of gda a numeric vector of length 3 is expected which contains the concentration of the host, guest and the khd parameter.

npop

is an optional integer argument defining the number of particles during optimization. The default value is set to 40.

ngen

is an optional integer argument defining the number of generations of the particle swarm optimization. The default value is set to 200.

Topology

is an optional character argument defining which topology should be used by the particle swarm algorithm. The options are "star" and "random". The default topology is the "random" topology.

errorThreshold

is an optional numeric argument defining a sufficient small error which acts as a stop signal for the particle swarm algorithm. The default value is set to -Inf.

runAsShiny

is internally used when running the algorithm from shiny.

Value

either an instance of ErrorClass if something went wrong. Otherwise the optimized parameter and the insilico signal values are returned.

Examples

path <- paste0(system.file("examples", package = "tsf"), "/IDA.txt")
opti("ida", c(1, 0, 0, 0), c(10^9, 10^6, 10^6, 10^6), path, c(4.3, 6.0, 7079458)) 
#> [1] 2
#> [1] 28060975.29   465987.19   390031.39    20065.22
#> [1] 21178.86
#> [1] 3
#> [1] 28060975.29   465987.19   390031.39    20065.22
#> [1] 21178.86
#> [1] 4
#> [1] 5.736756e+08 0.000000e+00 1.000000e+06 6.101458e+03
#> [1] 8918.934
#> [1] 5
#> [1] 1000000000.0          0.0     603439.2          0.0
#> [1] 4391.296
#> [1] 6
#> [1] 1000000000.0          0.0     590145.5          0.0
#> [1] 4294.094
#> [1] 7
#> [1] 1000000000.0          0.0     348388.7          0.0
#> [1] 2526.388
#> [1] 8
#> [1] 789805326.7         0.0    172243.1         0.0
#> [1] 1299.917
#> [1] 9
#> [1] 647106398         0         0         0
#> [1] 21
#> [1] 10
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 11
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 12
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 13
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 14
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 15
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 16
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 17
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 18
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 19
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 20
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 21
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 22
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 23
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 24
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 25
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 26
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 27
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 28
#> [1] 8.133073e+08 0.000000e+00 9.540777e+02 0.000000e+00
#> [1] 13.72899
#> [1] 29
#> [1] 3.285702e+08 0.000000e+00 8.709225e+02 0.000000e+00
#> [1] 12.55242
#> [1] 30
#> [1] 5.639658e+08 0.000000e+00 1.030566e+03 0.000000e+00
#> [1] 12.44455
#> [1] 31
#> [1] 7.581672e+08 0.000000e+00 1.162272e+03 0.000000e+00
#> [1] 12.00689
#> [1] 32
#> [1] 7.581672e+08 0.000000e+00 1.162272e+03 0.000000e+00
#> [1] 12.00689
#> [1] 33
#> [1] 6.174114e+08 0.000000e+00 1.185941e+03 0.000000e+00
#> [1] 11.37513
#> [1] 34
#> [1] 4.120739e+08 0.000000e+00 1.286162e+03 0.000000e+00
#> [1] 9.361986
#> [1] 35
#> [1] 4.120739e+08 0.000000e+00 1.286162e+03 0.000000e+00
#> [1] 9.361986
#> [1] 36
#> [1] 4.120739e+08 0.000000e+00 1.286162e+03 0.000000e+00
#> [1] 9.361986
#> [1] 37
#> [1] 4.120739e+08 0.000000e+00 1.286162e+03 0.000000e+00
#> [1] 9.361986
#> [1] 38
#> [1] 4.242105e+08 0.000000e+00 1.575308e+03 0.000000e+00
#> [1] 8.536533
#> [1] 39
#> [1] 4.242105e+08 0.000000e+00 1.575308e+03 0.000000e+00
#> [1] 8.536533
#> [1] 40
#> [1] 4.242105e+08 0.000000e+00 1.575308e+03 0.000000e+00
#> [1] 8.536533
#> [1] 41
#> [1] 4.242105e+08 0.000000e+00 1.575308e+03 0.000000e+00
#> [1] 8.536533
#> [1] 42
#> [1] 4.242105e+08 0.000000e+00 1.575308e+03 0.000000e+00
#> [1] 8.536533
#> [1] 43
#> [1] 4.242105e+08 0.000000e+00 1.575308e+03 0.000000e+00
#> [1] 8.536533
#> [1] 44
#> [1] 1.829782e+08 0.000000e+00 1.725715e+03 0.000000e+00
#> [1] 4.576825
#> [1] 45
#> [1] 123778503.03         0.00      1371.67         0.00
#> [1] 2.146134
#> [1] 46
#> [1] 123778503.03         0.00      1371.67         0.00
#> [1] 2.146134
#> [1] 47
#> [1] 123778503.03         0.00      1371.67         0.00
#> [1] 2.146134
#> [1] 48
#> [1] 123778503.03         0.00      1371.67         0.00
#> [1] 2.146134
#> [1] 49
#> [1] 96562803.174        0.000     1309.277        0.000
#> [1] 0.9373097
#> [1] 50
#> [1] 96562803.174        0.000     1309.277        0.000
#> [1] 0.9373097
#> [1] 51
#> [1] 96562803.174        0.000     1309.277        0.000
#> [1] 0.9373097
#> [1] 52
#> [1] 96562803.174        0.000     1309.277        0.000
#> [1] 0.9373097
#> [1] 53
#> [1] 96562803.174        0.000     1309.277        0.000
#> [1] 0.9373097
#> [1] 54
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 55
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 56
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 57
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 58
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 59
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 60
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 61
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 62
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 63
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 64
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 65
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 66
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 67
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 68
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 69
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 70
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 71
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 72
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 73
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 74
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 75
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 76
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 77
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 78
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 79
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 80
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 81
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 82
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 83
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 84
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 85
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 86
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 87
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 88
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 89
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 90
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 91
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 92
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 93
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 94
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 95
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 96
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 97
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 98
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 99
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 100
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 101
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 102
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 103
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 104
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 105
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 106
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 107
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 108
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 109
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 110
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 111
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 112
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 113
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 114
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 115
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 116
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 117
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 118
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 119
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 120
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 121
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 122
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 123
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 124
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 125
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 126
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 127
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 128
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 129
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 130
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 131
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 132
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 133
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 134
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 135
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 136
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 137
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 138
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 139
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 140
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 141
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 142
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 143
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 144
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 145
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 146
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 147
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 148
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 149
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 150
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 151
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 152
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 153
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 154
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 155
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 156
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 157
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 158
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 159
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 160
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 161
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 162
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 163
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 164
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 165
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 166
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 167
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 168
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 169
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 170
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 171
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 172
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 173
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 174
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 175
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 176
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 177
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 178
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 179
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 180
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 181
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 182
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 183
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 184
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 185
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 186
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 187
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 188
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 189
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 190
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 191
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 192
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 193
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 194
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 195
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 196
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 197
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 198
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 199
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [1] 200
#> [1] 87732402.810        0.000     1305.587        0.000
#> [1] 0.5562147
#> [[1]]
#>     guest   signal signal_insilico        d        hd
#> 1  0.0000 5846.100       5614.0223 1.700000 4.2999996
#> 2  0.4975 5251.420       4993.0020 2.175664 3.8243359
#> 3  0.9901 4579.220       4398.0111 2.631391 3.3686091
#> 4  1.4778 3922.710       3834.4000 3.063083 2.9369172
#> 5  1.9608 3351.840       3308.4807 3.465905 2.5340950
#> 6  2.4390 2791.560       2827.7179 3.834140 2.1658599
#> 7  2.9126 2333.070       2399.0455 4.162477 1.8375230
#> 8  3.3816 1969.980       2027.6770 4.446923 1.5530772
#> 9  3.8462 1653.070       1714.9782 4.686431 1.3135690
#> 10 4.3062 1398.690       1458.1487 4.883147 1.1168532
#> 11 4.7619 1210.670       1250.5191 5.042178 0.9578216
#> 12 5.2133 1054.340       1083.9160 5.169786 0.8302137
#> 13 5.6604  936.536        950.1846 5.272216 0.7277836
#> 14 6.1033  827.836        842.1811 5.354941 0.6450595
#> 15 6.5421  757.271        754.1359 5.422378 0.5776222
#> 16 6.9767  687.888        681.6061 5.477931 0.5220688
#> 17 7.4074  628.260        621.1497 5.524237 0.4757629
#> 18 7.8341  582.921        570.2200 5.563246 0.4367538
#> 19 8.2569  541.771        526.8629 5.596455 0.4035449
#> 20 8.6758  505.525        489.5988 5.624997 0.3750029
#> 21 9.0909  478.098        457.2821 5.649750 0.3502503
#> 
#> [[2]]
#>     kguest I0      IHD ID
#> 1 87732403  0 1305.587  0
#> 
#> [[3]]

#> 
#> [[4]]
#> [[4]]$mse
#> [1] 8739.878
#> 
#> [[4]]$rmse
#> [1] 93.48732
#> 
#> [[4]]$mae
#> [1] 60.13659
#> 
#> [[4]]$r2
#> [1] 0.9987043
#> 
#> [[4]]$r2adjusted
#> [1] 0.9986361
#> 
#>