DATAWAR$CustomWAR = DATAWAR$WAR +.1*((DATAWAR$G- DATAWAR$AVGgames)/DATAWAR$STDGames)
Error in$<-.data.frame
(*tmp*
, CustomWAR, value = numeric(0)) :
replacement has 0 rows, data has 130
I am trying to just use this line to create a new column in my data set DATAWAR with the 'customwar' computation for each line, for some reason giving me this erorr code.