Pular para o conteúdo principal
InícioRIntermediate R for Finance

Intermediate R for Finance

Learn about how dates work in R, and explore the world of if statements, loops, and functions using financial examples.

Comece O Curso Gratuitamente
5 horas15 vídeos59 exercícios
35.041 aprendizesTrophyDeclaração de Realização

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.
GroupTreinar 2 ou mais pessoas?Experimente o DataCamp For Business

Amado por alunos de milhares de empresas


Descrição do Curso

If you enjoyed the Introduction to R for Finance course, then you will love Intermediate R for Finance. Here, you will first learn the basics about how dates work in R, an important skill for the rest of the course. Your next step will be to explore the world of if statements, loops, and functions. These are powerful ideas that are essential to any financial data scientist's toolkit. Finally, we will spend some time working with the family of apply functions as a vectorized alternative to loops. And of course, all examples will be finance related! Enjoy!
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados
Experimente O DataCamp for BusinessPara uma solução sob medida , agende uma demonstração.

Nas seguintes faixas

Fundamentos de finanças em R

Ir para a trilha

Analista quantitativo com R

Ir para a trilha
  1. 1

    Dates

    Gratuito

    Welcome! Before we go deeper into the world of R, it will be nice to have an understanding of how dates and times are created. This chapter will teach you enough to begin working with dates, but only scratches the surface of what you can do with them.

    Reproduzir Capítulo Agora
    An introduction to dates in R
    50 xp
    What day is it?
    100 xp
    From char to date
    100 xp
    Many dates
    100 xp
    Date formats and extractor functions
    50 xp
    Date formats (1)
    100 xp
    Date formats (2)
    100 xp
    Subtraction of dates
    100 xp
    months() and weekdays() and quarters(), oh my!
    100 xp
  2. 2

    If Statements and Operators

    Imagine you own stock in a company. If the stock goes above a certain price, you might want to sell. If the stock drops below a certain price, you might want to buy it while it's cheap! This kind of thinking can be implemented using operators and if statements. In this chapter, you will learn all about them, and create a program that tells you to buy or sell a stock.

    Reproduzir Capítulo Agora
  3. 4

    Functions

    If data structures like data frames and vectors are how you hold your data, functions are how you tell R what to do with your data. In this chapter, you will learn about using built-in functions, creating your own unique functions, and you will finish off with a brief introduction to packages.

    Reproduzir Capítulo Agora
  4. 5

    Apply

    A popular alternative to loops in R are the apply functions. These are often more readable than loops, and are incredibly useful for scaling the data science workflow to perform a complicated calculation on any number of observations. Learn about them here!

    Reproduzir Capítulo Agora
Para Empresas

GroupTreinar 2 ou mais pessoas?

Obtenha acesso à biblioteca completa do DataCamp, com relatórios, atribuições, projetos e muito mais centralizados

Nas seguintes faixas

Fundamentos de finanças em R

Ir para a trilha

Analista quantitativo com R

Ir para a trilha

colaboradores

Collaborator's avatar
Davis Vaughan

pré-requisitos

Introduction to R for Finance
Lore Dirick HeadshotLore Dirick

Director of Data Science Education at Flatiron School

Ver Mais

O que os outros alunos têm a dizer?

Junte-se a mais de 14 milhões de alunos e comece Intermediate R for Finance hoje mesmo!

Crie sua conta gratuita

GoogleLinkedInFacebook

ou

Ao continuar, você aceita nossos Termos de Uso, nossa Política de Privacidade e que seus dados são armazenados nos EUA.