responseAsDataFrame

fun responseAsDataFrame(responseName: String): AnyFrame(source)

Returns a data frame that has columns (point, exp_name, rep_id, responseName) where each row represents one replication at one design point, and the responseName column holds the per-replication observed value.

The data is assembled directly from mySimulationRuns without any database access. If responseName is not present in the results of any executed run, or if no runs have been executed, DataFrame.empty is returned.

Missing observations (index out of range for a run's results array) are represented as Double.NaN.