Warning message: data set ‘...’ not found

data set ‘sp500’ not found

data(sp500)
Warning message:
In data(sp500) : data set ‘sp500’ not found

I think you need to precise from which package this dataset comes from and do data(sp500, package = "packagename".
Or load the package, then call data(...)

it seems there are several sources possible
https://www.rdocumentation.org/search?q=sp500&latest=

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.