free.energy: Free Energy from Molecular Dynamics Distributions

Description Usage Arguments Details Examples

View source: R/free.energy.R

Description

Given the distribution x of a degree of freedom of interest, the function computes the free energy at kT, according to

Usage

1
free.energy(x, kT = 0.616, zero.min = T, norm = T)

Arguments

x

normalised or unnormalised distribution of the given degree of freedom

kT

(default 0.616)

zero.min

set the zero at the minimum of the free energy (default T)

norm

for debug normalisation of x can be disabled (default T)

Details

F(x) = -kT*ln( pdf(x) ) + C

Examples

1
2
3
4
5
6
infile <- "test.data"
window.ll <- 20

x <- read.table(infile)
x <- ma(x, window.ll)
write.table(x,file=paste("ma",infile,sep="_"), quote=F, row.names=F, col.names=F)

s-cosseddu/RMD documentation built on May 28, 2019, 10:46 a.m.