Learn R Programming

⚠️There's a newer version (1.1.4) of this package.Take me there.

lcc

lcc is a package under development based on estimation procedures for longitudinal concordance correlation (lcc), longitudinal Pearson correlation (lpc), and longitudinal accuracy (la) through fixed effects and variance components of polynomial mixed-effect regression model. The main features of the package are its ability to perform inference about the extent of agreement and use a numerical and graphical to summary the fitted values, sampled values, and confidence intervals. Morever, our approach accommodate balanced or unbalanced experimental design, allows to model heteroscedasticity among within-group errors using or not the time as covariate, and also allows for inclusion of covariates in the linear predictor to control systematic variations in the response variable. It was developed by Thiago de Paula Oliveira [cre, aut], Rafael de Andrade Moral [aut], John Hinde [aut], Silvio Sandoval Zocchi [aut,ctb], Clarice Garcia Borges Demétrio [aut,ctb].

It has been available on CRAN since 2018 (https://CRAN.R-project.org/package=lcc). Its last version was updated on 2019-04-26. CRAN has lcc’s stable version, which is recommended for most users.

This github page has its version under development. New functions will be added as experimental work and, once it is done and running correctly, we will synchronize the repositories and add it to the CRAN.

We worked hard to release a new stable version allowing users to analyze data sets, where the objective is studied the extent of the agreement profile among methods considering time as covariable.

lcc comprises a set of functions that allows users build and summaries the fitted model, estimates and bootstrap confidence intervals for lcc, lpc and la statistics, and build graphical summaries for them. Some functions are used internally by the package, and should not be used directly.

Installation

Installed from CRAN:

install.packages("lcc")

Installed the development version from Github:

install.packages("devtools")
devtools::install_github("Prof-ThiagoOliveira/lcc")

If you use Windows, first install Rtools. If you are facing problems with Rtools installation, try to do it by selecting Run as Admnistrator option with right mouse button. On a Mac, you will need Xcode (available on the App Store).

lcc can also be installed by downloading the appropriate files directly at the CRAN web site and following the instructions given in the section 6.3 Installing Packages of the R Installation and Administration manual.

Longitudinal Concordance Correlation App

We hope you learn more about the LCC using the LCC App. We develop this application to facilitate understanding of how each parameter can affects the LCC estimate over time. Have fun!

Tutorials

Under construction!! =D

Copy Link

Version

Install

install.packages('lcc')

Monthly Downloads

230

Version

1.0.4

License

GPL (>= 2)

Maintainer

Thiago de Paula Oliveira

Last Published

February 13th, 2020

Functions in lcc (1.0.4)

coef.lcc

Extract Model Coefficients
ciCompute

Internal Function to Compute the Non-Parametric Bootstrap Interval.
AIC.lcc

Akaike and Bayesian Information Criteria for an lcc Object.
plotBuilder_lcc

Internal Function to Produces a Longitudinal Concordance Correlation Plot.
lcc

Longitudinal Concordance Correlation (LCC) Estimated by Fixed Effects and Variance Components using a Polynomial Mixed-Effects Regression Model
fitted.lcc

Extract lcc Fitted Values
residuals.lcc

Extract Model Residuals
fittedBuilder

Internal Function to Build Fitted Values for lcc Objects
getDelta

Internal Function to Extract Variance Components Estimates.
CCC

Internal Function to Compute the Sampled Concordance Correlation Values.
dataBuilder

Internal Function to Prepare the Dataset for lcc Objects
ciBuilder

Internal Function to Prepare the ciCompute Function.
lccInternal

Internal Function to Prepare lcc Objects
plotBuilder_lpc

Internal Function to Produces a Longitudinal Perason Correlation Plot.
lccWrapper

Internal Function to Prepare the lccBuilder Function
logLik.lcc

Extract Log-Likelihood of an lcc Object
lpcBootstrap

Internal functions to generate longitudinal Pearson correlation samples.
simulated_hue

Hue color simulated data
summary.lcc

Summarize an lcc Object
plotControl

Specifying Graphical Control Values for lcc Class
simulated_hue_block

Hue color simulated data in a randomized block design
lcc_intervals

Internal Functions to Compute the Non-Parametric Confidence Intervals for LCC.
plot_la

Internal Function to Prepare the plotBuilder_la Function.
print.summary.lcc

Print the Summary of an lcc Object
lccModel

Internal Function to Fits a Linear Mixed-Effects Model in the Formulation Described in Laird and Ware (1982).
ranef.lcc

Extract Model Random Effects
time_lcc

Regular Sequence for the Time Variable
vcov.lcc

Extract Variance-Covariance Matrix of the Fixed Effects
CCC_lin

Internal Function to Estimate the Sampled Concordance Correlation Coefficient.
anova.lcc

Compare Likelihoods of Fitted Models from an lcc Object
laBootstrap

Internal functions to generate longitudinal accuracy samples.
bootstrapSamples

Internal functions to estimate fixed effects and variance components.
laBuilder

Internal Function to Estimate the Longitudinal Accuracy.
lccBootstrap

Internal functions to generate longitudinal concordance correlation samples.
lccBuilder

Internal Function to Estimate the Longitudinal Concordance Correlation.
lpcBuilder

Internal Function to Estimate the Longitudinal Pearson Correlation.
lpcWrapper

Internal Function to Prepare the lpcBuilder Function
plot_lcc

Internal function to prepare the plotBuilder_lcc function.
plot_lpc

Pearson

Internal Function to Estimate the Sampled Pearson Correlation.
is.lcc

Reports whether x is a lcc object
lccPlot

Plot Fitted Curves from an lcc Object.
init

lccSummary

Internal Function to Summarize Fitted and Sampled Values for lcc Objects
plot.lcc

Diagnostic Plots of an lcc Object.
print.anova.lcc

Print the Anova of an lcc Object
plotBuilder_la

Internal Function to Produces a Longitudinal Accuracy Plot.
print.lcc

Print an lcc Object
getVarCov.lcc

Extract Variance Components from a Fitted Model
dataBootstrap

Internal Functions to Generate Bootstrap Samples Based on Dataset.
hue

Hue color data
laWrapper

Internal Function to Prepare the laBuilder Function