Learn R Programming

npsr (version 0.1.1)

nps.test: Main function of the package.

Description

Main function of the package.

Usage

nps.test(df, l, m, n, N, S)

Arguments

df

Dataframe with columns z,x and y

l

Number of bins used to discretize Z

m

Number of bins used to discretize X

n

Number of bins used to discretize Y

N

Number of Repetitions for Nested Sampling

S

Number of Starting Points for Nested Sampling

Value

result object of the test including the fields: nt, valid, invalid, ratio

Examples

Run this code
# NOT RUN {
nps.test(data.frame(x = runif(3), y = runif(3), z = runif(3)),2,2,2, 3, 3)
# }

Run the code above in your browser using DataLab