{ "key_pair_value_system": true, "answer_rating_count": "", "question_feedback_html": { "html_star": "", "html_star_feedback": "" }, "answer_average_rating_value": "", "answer_date_js": "2024-06-05T14:03:23-04:00", "answer_date": "2024-06-05 14:03:23", "is_docs_available": "", "is_excel_available": "", "is_pdf_available": "", "count_file_available": 0, "main_page": "student_question_view", "question_id": "2295173", "url": "\/study-help\/questions\/i-have-this-code-right-now-libraryquantmod-getsymbolssymbolsspy-from20120101-to-2295173", "question_creation_date_js": "2024-06-05T14:03:23-04:00", "question_creation_date": "Jun 05, 2024 02:03 PM", "meta_title": "[Solved] I have this code right now: library(quant | SolutionInn", "meta_description": "Answer of - I have this code right now: library(quantmod) getSymbols(Symbols=SPY, from=2012-01-01, to= 2013-12-31) SPY=data.frame( | SolutionInn", "meta_keywords": "code,right,library,quantmod,getsymbols,symbols=spy,=2012-01-01,2013-12-31,spy=dataframe,spy,data=matrix,spy$spy.adjusted", "question_title_h1": "I have this code right now: library(quantmod) getSymbols(Symbols=SPY, from=2012-01-01, to= 2013-12-31) SPY=data.frame(SPY) Data=matrix(SPY$SPY.Adjusted, ncol=10, byrow=T) df=data.frame(Data) next I am supposed to Calculate the mean and", "question_title": "I have this code right now: library(quantmod) getSymbols(Symbols=SPY, from=2012-01-01, to= 2013-12-31) SPY=data.frame(SPY)", "question_title_for_js_snippet": "I have this code right now library( quantmod ) getSymbols(Symbols SPY , from 2012 01 01 , to 2013 12 31 ) SPY data frame(SPY) Data matrix(SPY$SPY Adjusted, ncol 10, byrow T) df data frame(Data) next I am supposed to Calculate the mean and standard deviation of each column Store the result in another data frame and print out this data frame in a nice table I have been looking at this for hours and am very stuck Thank you in advance ", "question_description": "

I have this code right now:<\/p>

library(\"quantmod\")<\/p>

getSymbols(Symbols=\"SPY\", from=\"2012-01-01\", to= \"2013-12-31\")<\/p>

SPY=data.frame(SPY)<\/p>

<\/p>

Data=matrix(SPY$SPY.Adjusted, ncol=10, byrow=T)<\/p>

df=data.frame(Data)<\/p>

<\/p>

next I am supposed to Calculate the mean and standard deviation of each column. Store the result in another data frame and print out this data frame in a nice table. I have been looking at this for hours and am very stuck. Thank you in advance!<\/p>", "transcribed_text": "", "related_book": { "title": "Entrepreneurship", "isbn": "1119563097, 9781119563099", "edition": "5th Edition", "authors": "Andrew Zacharakis, William D Bygrave", "cover_image": "https:\/\/dsd5zvtm8ll6.cloudfront.net\/si.question.images\/book_images\/2021\/11\/6192073f58970_0626192073ecba87.jpg", "uri": "\/textbooks\/entrepreneurship-5th-edition-9781119563099", "see_more_uri": "" }, "free_related_book": { "isbn": "1398603244", "uri": "\/textbooks\/the-telegraph-tax-guide-2021-your-complete-guide-to-the-tax-return-for-2020-21-45th-edition-978-1398603240-275824", "name": "The Telegraph Tax Guide 2021 Your Complete Guide To The Tax Return For 2020\/21", "edition": "45th Edition" }, "question_posted": "2024-06-05 14:03:23", "see_more_questions_link": "\/study-help\/questions\/business-banking-2021-September-12", "step_by_step_answer": "The Answer is in the image, click to view ...", "students_also_viewed": [ { "url": "\/did-subway-crossed-the-exploitation-line-in-targeting-its-food", "description": "Did Subway crossed the exploitation line in targeting its food products to obese children?", "stars": 3 }, { "url": "\/study-help\/introduction-theory-computation\/let-infinitepda-m-m-is-a-pda-and-lm-840290", "description": "Let INFINITE PDA = {M| M is a PDA and L(M) is an infinite language}. Show that INFINITE PDA is decidable.", "stars": 3 }, { "url": "\/study-help\/psychology\/exude-confidence-not-arrogance-1980761", "description": "Exude confidence, not arrogance.", "stars": 3 }, { "url": "\/hardrock-concretes-owner-has-decided-to-increase-the-capacity-at", "description": "Hardrock Concrete's owner has decided to increase the capacity at his smallest plant. Instead of producing 30 loads of concrete per day at plant 3, that plant's capacity is doubled to 60 loads. Find...", "stars": 3 }, { "url": "\/study-help\/questions\/kindly-solve-the-question-on-paper-and-show-all-steps-9839943", "description": "Kindly solve the question on paper and show all steps and explain your answer (15) Develop an object sequence diagram in which: a an object O receives message meg from an actor b O create a new...", "stars": 3 }, { "url": "\/study-help\/questions\/selfassessments-please-complete-the-following-selfassessments-johnson-2021-and-report-1542250", "description": "Self-Assessments Please complete the following self-assessments (Johnson, 2021) and report your findings in your journal: SA 2.1 (Narcissistic Leader Scale) SA 2.2 (Propensity to Morally Disengage...", "stars": 3 }, { "url": "\/study-help\/questions\/exercise-2-determine-the-minimum-subscription-and-the-minimum-paid-4145003", "description": "Exercise 2: Determine the minimum subscription and the minimum paid in capital in the following cases below: a. Arielle Corporation is being incorporated with an authorized share capital of P...", "stars": 3 }, { "url": "\/study-help\/questions\/3-which-among-the-following-is-popularly-called-hypo-a-8829095", "description": "3. Which among the following is popularly called Hypo? [A] Silver bromide [B] Silver nitrate [C] Sodium thiosulphate [D] Sodium phosphate", "stars": 3 }, { "url": "\/study-help\/questions\/1-daltons-name-is-associated-with-which-of-the-following-8829096", "description": "1. Daltons name is associated with which of the following terms? [A] Electron [B] Proton [C] Atom [D] Neutron", "stars": 3 }, { "url": "\/study-help\/questions\/define-administration-8829097", "description": "Define Administration?", "stars": 3 }, { "url": "\/study-help\/questions\/define-decision-making-8829098", "description": "Define Decision making", "stars": 3 }, { "url": "\/study-help\/questions\/what-are-the-major-social-responsibilities-of-business-managers-8829099", "description": "What are the major social responsibilities of business managers ?", "stars": 3 }, { "url": "\/study-help\/questions\/1-prepare-flexible-overhead-budgets-for-october-showing-amounts-7097167", "description": "1 . Prepare flexible overhead budgets for October showing amounts of each variable and fixed cost at the 6 5 % , 7 5 % , and 8 5 % capacity levels. Top portion is hard to see, it says.. Direct...", "stars": 3 }, { "url": "\/study-help\/moral-issues-in-business\/orlando-discusses-five-arguments-intended-to-show-that-the-interests-1550299", "description": "Orlando discusses five arguments intended to show that the interests of shareholders take priority over those of other groups. State each of these arguments in one or two sentences and critically...", "stars": 3 }, { "url": "\/study-help\/moral-issues-in-business\/is-downsizing-wrong-because-it-is-an-instance-of-harming-1550296", "description": "Is downsizing wrong because it is an instance of \"harming some to benefit others, as Ortando argues?", "stars": 3 }, { "url": "\/study-help\/moral-issues-in-business\/can-downsizing-be-supported-on-utilitarian-grounds-explain-why-or-1550297", "description": "Can downsizing be supported on utilitarian grounds? Explain why or why not.", "stars": 3 } ], "next_back_navigation": { "previous": "\/study-help\/questions\/case-study-1-15-a-wealthy-investor-david-approaches-your-2295172", "next": "\/study-help\/questions\/you-have-just-received-a-bonus-of-15750-and-are-2295174" }, "breadcrumbs": [ { "name": "Study help", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers" }, { "name": "Business", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers\/business" }, { "name": "Finance", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/business-finance" }, { "name": "I have this code right now: library(quantmod) getSymbols(Symbols=SPY, from=2012-01-01, to= 2013-12-31) SPY=data.frame(SPY)", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/i-have-this-code-right-now-libraryquantmod-getsymbolssymbolsspy-from20120101-to-2295173" } ], "skill_details": { "skill_id": "13", "skill_name": "Finance", "parent_id": "1" } } } }