Package: calmr 0.6.3

calmr: Canonical Associative Learning Models and their Representations

Implementations of canonical associative learning models, with tools to run experiment simulations, estimate model parameters, and compare model representations. Experiments and results are represented using S4 classes and methods.

Authors:Victor Navarro [aut, cre, cph]

calmr_0.6.3.tar.gz
calmr_0.6.3.zip(r-4.5)calmr_0.6.3.zip(r-4.4)calmr_0.6.3.zip(r-4.3)
calmr_0.6.3.tgz(r-4.4-any)calmr_0.6.3.tgz(r-4.3-any)
calmr_0.6.3.tar.gz(r-4.5-noble)calmr_0.6.3.tar.gz(r-4.4-noble)
calmr_0.6.3.tgz(r-4.4-emscripten)calmr_0.6.3.tgz(r-4.3-emscripten)
calmr.pdf |calmr.html
calmr/json (API)
NEWS

# Install 'calmr' in R:
install.packages('calmr', repos = c('https://victor-navarro.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/victor-navarro/calmr/issues

Datasets:
  • pati - Rat responses from Patittucci et al. 2016

On CRAN:

6.55 score 3 stars 17 scripts 208 downloads 57 exports 52 dependencies

Last updated 6 months agofrom:985aa1f899. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winNOTENov 04 2024
R-4.5-linuxNOTENov 04 2024
R-4.4-winNOTENov 04 2024
R-4.4-macNOTENov 04 2024
R-4.3-winNOTENov 04 2024
R-4.3-macNOTENov 04 2024

Exports:aggregateAICBICcalmr_model_graphcalmr_model_plotcalmr_verbositycompare_modelsdesignexperiencesexperiences<-fit_modelget_designget_graph_optsget_modelget_optimizer_optsget_parametersget_plot_optsget_timingsgraphmake_experimentmappingmodel_outputsmodel_parametersNLLparametersparameters<-parseparse_designparsed_resultspatch_graphspatch_plotsphase_parserplotplot_common_scaleplot_targetted_complex_trialsplot_targetted_tbinsplot_targetted_trialsplot_targetted_typed_trialsplot_tbinsplot_trialspredictraw_resultsresultsrsarun_experimentset_calmr_paletteset_reward_parametersshowsupported_familiessupported_modelssupported_optimizerssupported_plotssupported_timed_modelstesttimingstimings<-trials

Dependencies:clicodacodetoolscolorspacecpp11crayondata.tabledigestfansifarverforeachfuturefuture.applyGAggnetworkggplot2ggrepelglobalsgluegtableigraphisobanditeratorslabelinglatticelifecyclelistenvmagrittrMASSMatrixmgcvmunsellnetworknlmeparallellypatchworkpillarpkgconfigprogressrR6RColorBrewerRcppRcppArmadillorlangscalessnastatnet.commontibbleutf8vctrsviridisLitewithr

ANCCR

Rendered fromANCCR.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-09
Started: 2024-02-28

calmr_app

Rendered fromcalmr_app.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-10
Started: 2023-01-30

calmr_fits

Rendered fromcalmr_fits.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-10
Started: 2022-12-12

Getting started with calmr

Rendered fromcalmr.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-08
Started: 2024-04-08

HD2022

Rendered fromHD2022.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-03-10
Started: 2024-02-22

heidi_similarity

Rendered fromheidi_similarity.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-04
Started: 2022-03-03

MAC1975

Rendered fromMAC1975.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-03-10
Started: 2024-02-22

parallelism_in_calmr

Rendered fromparallelism_in_calmr.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-07
Started: 2024-02-27

PKH1982

Rendered fromPKH1982.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-03-10
Started: 2024-02-22

RAND

Rendered fromRAND.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-07
Started: 2024-02-24

RW1972

Rendered fromRW1972.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-03-10
Started: 2024-02-22

SM2007

Rendered fromSM2007.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-03-10
Started: 2024-02-22

TD

Rendered fromTD.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-09
Started: 2024-04-08

using_time_models

Rendered fromusing_time_models.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2024-04-08
Started: 2024-02-26

Readme and manuals

Help Manual

Help pageTopics
Create a graph with calmr datacalmr_model_graph get_graph_opts patch_graphs
Create a plot with calmr datacalmr_model_plot get_plot_opts patch_plots plot_common_scale
Set verbosity options for calmrcalmr_verbosity
S4 class for calmr designsCalmrDesign-class
CalmrDesign methodsCalmrDesign-methods mapping mapping,CalmrDesign-method show,CalmrDesign-method trials,CalmrDesign-method
S4 class for calmr experiments.CalmrExperiment-class
CalmrExperiment methodsaggregate aggregate,CalmrExperiment-method CalmrExperiment-methods design design,CalmrExperiment-method experiences experiences,CalmrExperiment-method experiences<- experiences<-,CalmrExperiment-method graph graph,CalmrExperiment-method length,CalmrExperiment-method parameters parameters,CalmrExperiment-method parameters<- parameters<-,CalmrExperiment-method parse parse,CalmrExperiment-method parsed_results parsed_results,CalmrExperiment-method plot plot,CalmrExperiment-method raw_results raw_results,CalmrExperiment-method results results,CalmrExperiment-method show,CalmrExperiment-method timings timings,CalmrExperiment-method timings<- timings<-,CalmrExperiment-method trials trials,CalmrExperiment-method
S4 class for calmr experiment resultsCalmrExperimentResult-class
S4 class for calmr FitCalmrFit-class
CalmrFit methodsAIC AIC,CalmrFit-method BIC BIC,CalmrFit-method CalmrFit-methods NLL NLL,CalmrFit-method predict predict,CalmrFit-method show,CalmrFit-method
S4 class for calmr resultsCalmrResult-class
CalmrResult methodsCalmrResult-methods show,CalmrResult-method
S4 class for calmr representational similarity analysisCalmrRSA-class
CalmrRSA methodsCalmrRSA-methods plot,CalmrRSA-method show,CalmrRSA-method test test,CalmrRSA-method
Run models given a set of parameterscompare_models
Fit model to datafit_model
Get basic designsget_design
Get optimizer optionsget_optimizer_opts
Get model parametersget_parameters
Get timing design parametersget_timings
Make CalmrExperimentmake_experiment
Model information functionsget_model model_information model_outputs model_parameters supported_families supported_models supported_optimizers supported_plots supported_timed_models
Parse design data.frameparse_design
Rat responses from Patittucci et al. 2016pati
Parses a phase stringphase_parser
General plotting functionsplotting_functions plot_targetted_complex_trials plot_targetted_tbins plot_targetted_trials plot_targetted_typed_trials plot_tbins plot_trials
Perform representational similarity analysisrsa
Run experimentrun_experiment
Get/set the colour/fill palette for plotsset_calmr_palette
Set reward parameters for ANCCR modelset_reward_parameters