You need to load the package and then load the data:
library(AER)
data("DJFranses")
then it will be available for you to work with.
Stephen Liu wrote:> Hi folks,
>
> Win7
>
>
> On running;
> data(package = .packages(all.available = TRUE))
>
> it displays a list of datasets under:-
> Data sets in package ?AER?:
>
> But I couldn't call/load all of them on the list.
>
>
>> DJFranses
>>
> Error: object 'DJFranses' not found
>
>
>> CreditCard
>>
> Error: object 'CreditCard' not found
>
>
> But I can call/load;
>
>> iris
>>
>
> Whether the list shows all available datasets on repo, NOT the datasets
already
> download/installed on PC? If YES how to find the running/available
datasets on
> PC?
>
>
> Packages -> Load Datasets
> the list looks different.
>
>
> Pls advise. TIA
>
> B.R.
> Stephen L
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>