transfer from old repo

This commit is contained in:
Andreas Gammelgaard Damsbo 2026-08-19 09:27:27 +02:00
commit 277e2b8cf3
No known key found for this signature in database
1111 changed files with 83736 additions and 0 deletions

View file

@ -0,0 +1,18 @@
df<-data.frame(record_id="1",
imm=35,
vis=35,
ver=35,
att=35,
del=35,
stringsAsFactors = FALSE)
source("https://raw.githubusercontent.com/agdamsbo/ENIGMAtrial_R/main/src/index_from_raw.R")
df_c<-index_from_raw(ds=df,
indx=read.csv("https://raw.githubusercontent.com/agdamsbo/ENIGMAtrial_R/main/data/index.csv"),
version = "1",
age = 60,
raw_columns=c("imm","vis","ver","att","del"),
mani=TRUE)
plot_index(ds=df_c,id="id",sub_plot = "_is")