search for: reldrink

Displaying 1 result from an estimated 1 matches for "reldrink".

Did you mean: readlink
2007 Aug 31
3
data frame row manipulation
...ax(x)) } ) maxval # over all days per person #function getMaxVal=function(x) { maxval$vol.ma[maxval$name==x] } getMaxVal("Steve") # testing the function for one name is ok #we want to add a column, that shows the daily drinkingvolume in relation to the persons max-vol. evaluation[,"relDrink"]= evaluation$vol/getMaxVal(evaluation$name) # # this brings the error: # #Warning message: # Korrupter Data Frame: Spalten werden abgeschnitten oder mit NAs # aufgefüllt in: format.data.frame(x, digits = digits, na.encode = FALSE) errortest= evaluation$vol/getMaxVal(evaluation$name) errortes...