Skip to content
Prev 139374 / 398506 Next

type of object of a variable in a data frame

Chang Liu <changisme at hotmail.com> wrote in
news:BAY144-W56113AA5B8B59D44C17F37BE080 at phx.gbl:
You have not given reproducible code, so it is difficult to know why that 
does not succeed. I have a data.frame with a similar name left over from 
another problem. When I enter DATA$V1[1] = -.5 , it has the desired 
effect. Although it is not the source of the error,  you should learn to 
use "<-" rather than "=". You should also learn to post questions with 
reproducible code.