[R] Object xxx not found
ligges at statistik.tu-dortmund.de
Wed Dec 7 20:21:17 CET 2011
On 07.12.2011 13:06, John Visagie wrote:
> Dear All,
> I am having a very basic error, but somehow do not know how to resolve it. I've read a dataset in .csv into R with two columns - sector, export. When trying to plot the data it says "sector not found" This is the formula.
>> hist(sector$exports,xlab="exports (MtCO2)",main="CO2 Exports")
Err, you either want SouthAfrica$sector or SouthAfrica$exports.
> Error in hist(sector$exports, xlab = "exports (MtCO2)", main = "CO2 Exports") :
> object 'sector' not found
> Could somebody please assist?
> Kind regards,
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help