RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

Legit123

Itgel

Recently Published

Daily Stock Returns: AAPL, MSFT, GOOG, AMZN, TSM, NVDA
This analysis downloads daily adjusted prices for AAPL, MSFT, GOOG, AMZN, TSM, and NVDA from 2024 to the present, calculates daily simple returns, displays the first five returns for each stock, and provides summary statistics and return plots. Because the data are downloaded using `Sys.Date()`, re-knitting the document updates the analysis automatically through the current date.