Learn R Programming

synthesizer (version 0.3.1)

dcor: Difference between correlation

Description

Returns the Frobenius norm of the difference between the correlation matrices for numeric columns in synthetic and real data.

Usage

dcor(synth, real)

Arguments

synth

[data.frame] Synthetic data

real

[data.frame] Real data

See Also

Other measures: dmean(), pmse(), qa()

Examples

Run this code
dcor(iris, iris) # 0
dcor(synthesize(cars), cars)

Run the code above in your browser using DataLab