% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{update_elements.DT} \alias{update_elements.DT} \title{Updates selected elements of data stored in one DT with new one given in melted format} \usage{ update_elements.DT(data.old, data.new) } \arguments{ \item{data.old}{The DT to update} \item{data.new}{The data to insert. It must have three columns: {id,variable,new value}. E.g. data.new=data.table("id"=c(810001100105),"variable"=c("AASBIO_CV"),value=c(999999))} } \value{ a DT with the updated values } \description{ The user provides the data.new: {id,variable,new value}. The function overwrites all existing id-column with the new values }