ObtainDg: Obtain Dg

Usage Arguments Examples

Usage

1
ObtainDg(N, G)

Arguments

N
G

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (N, G) 
{
    if (N <= 0 | G <= 0) {
        dg <- 0
    }
    else {
        dg <- sqrt((G * 4)/(pi * N)) * 100
    }
    return(dg)
  }

drGeorgeXenakis/fr3PGD documentation built on June 3, 2020, 6:10 a.m.