valmetrics (version 1.0.0)

lccc: lccc

Description

Calculates Lin's concordance correlation coefficient (LCCC) from observed and predicted values.

Usage

lccc(o, p)

Arguments

o

A numeric vector. Observed values.

p

A numeric vector. Predicted values.

Value

Lin's concordance correlation coefficient (LCCC).

Details

Interpretation: Lin's concordance correlation coefficient (LCCC) can take values between -1 and 1. LCCC-values close to 1 indicate a strong concordance between predicted and observed values, while LCCC-values near -1 indicate a strong discordance. LCCC-values close to 0 indicate no concordance. In a plot of predicted values versus observed values, an LCCC-value of 1 means that the all data points are on the 1.1-line.

References

Lawrence, I., & Lin, K. (1989). A concordance correlation coefficient to evaluate reproducibility. Biometrics, 255-268.

Piikki K., Wetterlind J., Soderstrom M., Stenberg B. (2021). Perspectives on validation in digital soil mapping of continuous attributes. A review. Soil Use and Management. 10.1111/sum.12694

Examples

Run this code
# NOT RUN {
obs<-c(1:10)
pred<-c(1, 1 ,3, 2, 4, 5, 6, 8, 7, 10)
lccc(o=obs, p=pred)

# }

Run the code above in your browser using DataCamp Workspace