summarize.parameters {Pomic}R Documentation

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)

Details

The pomic weights should sum up to 1.

Value

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

Author(s)

Cyril Piou
cyril.piou@yahoo.fr

See Also

analyse.pomics pomic

Examples

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)

[Package Pomic version 0.9.1 Index]