np_boot_ccc_by_time: Non-parametric cluster bootstrap to make inference on the...

View source: R/np_boot_ccc_by_time.R

np_boot_ccc_by_timeR Documentation

Non-parametric cluster bootstrap to make inference on the concordance correlation coefficient by time variable

Description

Non-parametric cluster bootstrap to make inference on the concordance correlation coefficient by time variable

Usage

np_boot_ccc_by_time(
  dataset,
  ry,
  rind,
  rmet,
  rtime,
  covar = NULL,
  int = FALSE,
  cl = 0.95,
  control.lme = list(),
  nboot = 500,
  future_seed = 123
)

Arguments

dataset

an object of class data.frame

ry

Character string. Name of the outcome in the data set.

rind

Character string. Name of the subject variable in the data set.

rmet

Character string. Name of the method variable in the data set.

rtime

Character string. Name of the time variable in the data set.

covar

Character vector. Name of covariates to include in the linear mixed model as fixed effects.

int

Binary indicating if the subject-method interaction has to be included in the model when analyzing the non-longitudinal setting (defaults to FALSE).

cl

Confidence level.

control.lme

A list of control values for the estimation algorithm used in lme function. For further details see lme help.

nboot

Number of bootstrap resamples.

future_seed

Logical/Integer. The seed to be used for parallellization. Further details in furrr_options.

Value

Vector of CCC bootstrap estimates.


cccrm documentation built on June 8, 2025, 11:23 a.m.