Learn R Programming

Pomic (version 0.9.1)

summarize.parameters: Analyse a data frame with parameter values and pomic weights to give the averaged parameters

Description

This function do parameter averaging.

Usage

summarize.parameters(dataset,colnbparameters,colnbweight,colnbvarparam=NULL)

Arguments

dataset
Numerical, a dataset containing the parameter values and pomic weights
colnbparameters
Numerical, index of columns where the parameters are found
colnbweight
Numerical, index of column where the pomic weights are found
colnbvarparam
Numerical, index of columns where the variances of parameters given each model can be found (should be of same length than colnbparameters)

Value

  • Return a data set of best parameter values, averaged parameter values and standard deviation of parameters

Details

The pomic weights should sum up to 1.

See Also

analyse.pomics pomic

Examples

Run this code
dataset<-data.frame(P1=rep(1:5,each=5),P2=rep(seq(0,5,length=5),5)
                    ,wPomics=(1:25)/sum(1:25))
summarize.parameters(dataset,c(1,2),3)

Run the code above in your browser using DataLab