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-02-13. 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.

Tutorials

Under construction!! =D

Copy Link

Version

Install

install.packages('lcc')

Monthly Downloads

214

Version

1.0.2

License

GPL (>= 2)

Maintainer

Thiago de Paula Oliveira

Last Published

April 29th, 2019

Functions in lcc (1.0.2)

CCC

Internal function to compute the sampled concordance correlation values.
lcc

Longitudinal Concordance Correlation (LCC) estimated by fixed effects aqnd variance components of polynomial mixed-effects regression model
lccBootstrap

Internal functions to generate longitudinal concordance correlation samples.
lcc_intervals

Internal functions to compute the non-parametric confidence intervals for LCC.
lccModel

Internal function to fits a linear mixed-effects model in the formulation described in Laird and Ware (1982).
lpcBootstrap

Internal functions to generate longitudinal Pearson correlation samples.
lccPlot

Plot an lcc object
plot_la

Internal function to prepare the plotBuilder_la function.
plot_lcc

Internal function to prepare the plotBuilder_lcc function.
dataBootstrap

Internal functions to generate bootstrap samples based on dataset.
dataBuilder

Internal function to prepare the dataset for lcc objects
laBuilder

Internal function to estimate the longitudinal accuracy.
ciBuilder

Internal function to prepare the ciCompute function.
laWrapper

Internal function to to prepare the laBuilder function
lccSummary

Internal function to summarize fitted and sampled values for lcc objects
ciCompute

Internal function to compute the non-parametric bootstrap interval.
time_lcc

Regular sequence for the time variable
lpcWrapper

Internal function to to prepare the lpcBuilder function
lpcBuilder

Internal function to estimate the longitudinal Pearson correlation.
lccWrapper

Internal function to to prepare the lccBuilder function
plot_lpc

simulated_hue_block

Hue color simulated data in a randomized block design
simulated_hue

Hue color simulated data
summary.lcc

Summarize an lcc object
Pearson

Internal function to estimate the sampled Pearson correlation.
bootstrapSamples

Internal functions to estimate fixed effects and variance components.
lccBuilder

Internal function to estimate the longitudinal concordance correlation.
lccInternal

Internal function to prepare lcc objects
plotBuilder_lcc

Internal function to produces a longitudinal concordance correlation plot.
plotBuilder_la

Internal function to produces a longitudinal accuracy plot.
getDelta

Internal function to extract variance components estimate.
hue

Hue color data
init

laBootstrap

Internal functions to generate longitudinal accuracy samples.
plotBuilder_lpc

Internal function to produces a longitudinal Perason correlation plot.
plotControl

Specifying graphical control values for lcc class
CCC_lin

Internal function to estimate the sampled concordance correlation coefficient.