Learn R Programming

concordancer

The goal of concordancer is to provide an Rcpp implementation of Lin's Concordance Correlation Coefficient (CCC).

Installation

Install the latest release from CRAN:

install.packages("concordancer")

You can install the development version of concordancer from GitHub with:

# install.packages("devtools")
devtools::install_github("troyjcross/concordancer")

Example

This is a basic example which shows you how to solve a common problem:

library(concordancer)

# Create x and y
x <- rnorm(100, sd = 1)
y <- rnorm(length(x), sd = 0.5)

# Calculate CCC
result <- ccc(x,y)

print(result)

Copy Link

Version

Install

install.packages('concordancer')

Monthly Downloads

11

Version

1.0.2

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Troy J Cross

Last Published

July 21st, 2023

Functions in concordancer (1.0.2)

concordancer-package

A short title line describing what the package does
ccc

An Rcpp implementation of Lin's Concordance Correlation Coefficient (CCC)