fitTable
. This one makes a histogram, and returns a data frame with midpoints and counts.A vector to data frame converter for fitTable
. This one makes a histogram, and returns a data frame with midpoints and counts.
vec2df.hist(data)
[numeric vector] The data to be converted.
[data.frame] Converted data
.
# NOT RUN {
dataset <- summary (sampleSoundCorrsData.abc)
models <- list (
"model A" = list (
formula = "Y ~ a/X",
start = list (list(a=1))),
"model B" = list (
formula = "Y ~ a/(1+exp(1)^X)",
start = list (list(a=1)))
)
fitTable (models, dataset, 1, vec2df.hist)
# }
Run the code above in your browser using DataLab