I need to use this data.frame to analyse data Investment
using package lattice.
Requirement is to use data.frame
. Instead of the variable Investment
I need to put variables which have influence to the Investment
. I need to draw different graphs. I tried to draw one, but it's not what I need, because my code doesn't use data.frame at all.
library(lattice)
xyplot(Investment~GNP,data=Investment)
is.data.frame(Investment)
How can I change my code according to requirments? Thank you in advance.