Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .Rhistory
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,54 @@ devtools::install_github("atmoschem/veinreport")
devtools::install_github("atmoschem/veinreport")
library(veinreport)
library(cptcity)
(df <- data.frame(a = 1:3))
names(df)
class(df)
mode(df)
(df <- data.frame(a = 1:3))
names(df)
class(df)
mode(df)
mtcars
?mtcars
?head
head(df)
head(mtcars)
df <- mtcars
head(df) #mostra as sete primeiras linhas do data frame
summary(mtcars)
?summary
head(df)
summary(df)
?factor
a <- seq.POSIXt(from = hoje, by = 3600, length.out = 24*7)
hoje <- Sys.time()
(a <- seq.POSIXt(from = hoje, by = 3600, length.out = 24))
weekdays(a)
months(a)
julian(a) #dia Juliano*
a <- seq.POSIXt(from = , by = 3600, length.out = 24*7)
a <- seq.POSIXt(from = hoje , by = 3600, length.out = 24*7)
aa <- weekdays(a)
class(aa)
factor(aa)
factor(aa)
gender_vector <- c("Male", "Female", "Female", "Male", "Male")
factor_gender <- factor(gender_vector)
factor_gender
genero <- c("Masculino", "Masculino", "Feminino", "Masculino", "Feminino", "Feminino")
fator_gen <- factor(genero)
fator_gen
(a <- ISOdate(year = 2018, month = 4, day = 5))
class(a)
(b <- ISOdate(year = 2018, month = 4, day = 5, tz = "Americas/Sao_Paulo"))
?POSIXlt
?POSIXt
(d <- ISOdatetime(year = 2018, month = 4, day = 5, hour = 0, min = 0, sec = 0,
tz = "Americas/Sao_Paulo"))
hoje <- Sys.time()
(a <- seq.POSIXt(from = hoje, by = 3600, length.out = 24))
(c <- as.Date(Sys.time))
(c <- as.Date(Sys.time()))
(c <- as.Date(Sys.time()))
class(c)
8 changes: 7 additions & 1 deletion .Rproj.user/shared/notebooks/paths
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
/home/camila/github_repos/cursoR/04-plotting_ggplotting.Rmd="2A96EE5"
/home/isabela/Documentos/01-intro.Rmd="31DC02A2"
/home/isabela/Documentos/02-basicr.Rmd="EABAC0B9"
/home/isabela/Documentos/R/05-Data_frame.R="75AB22F0"
/home/isabela/Documentos/R/07-Lista.r="C0AA7ED7"
/home/isabela/Documentos/cursoR/01-intro.Rmd="4AE20ED3"
/home/isabela/Documentos/cursoR/02-basicr.Rmd="1705D7ED"
/home/isabela/Documentos/cursoR/03-import_export.Rmd="FF4389BF"
4 changes: 2 additions & 2 deletions 01-intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ Outros pacotes BASE: [utils](http://stat.ethz.ch/R-manual/R-devel/library/utils/
[grDevices](https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/00Index.html), [grid](https://stat.ethz.ch/R-manual/R-devel/library/grid/html/00Index.html), [methods](https://stat.ethz.ch/R-manual/R-devel/library/methods/html/00Index.html), [tools](https://stat.ethz.ch/R-manual/R-devel/library/tools/html/00Index.html), [parallel](https://stat.ethz.ch/R-manual/R-devel/library/parallel/html/00Index.html), [compiler](https://stat.ethz.ch/R-manual/R-devel/library/compiler/html/00Index.html), [splines](https://stat.ethz.ch/R-manual/R-devel/library/splines/html/00Index.html), [tcltk](https://stat.ethz.ch/R-manual/R-devel/library/tcltk/html/00Index.html) , [stats4](https://stat.ethz.ch/R-manual/R-devel/library/stats4/html/00Index.html).


Acesse [outros](https://cran.r-project.org/web/packages/available_packages_by_name.html) para a lista de pacotes disponíveis.
Acesse [pacotes](https://cran.r-project.org/web/packages/available_packages_by_name.html) para a lista de pacotes disponíveis.

Este curso foi baseado no livro [R Programming for Data Science](https://leanpub.com/rprogramming).

Neste curso iremos utilizar [Rstudio](https://www.rstudio.com/)
Neste curso iremos utilizar [Rstudio](https://www.rstudio.com/), além de poder baixar o programa utilizado nesse curso, você também pode acessar muitos materiais como as [Cheatsheets](https://www.rstudio.com/resources/cheatsheets/) e [Webnários](https://www.rstudio.com/resources/webinars/) que cobrem desde itens básicos como funções essenciais do Rstudio até desenvolvimento de páginas para Web ou apps com Shiny. Explore o máximo que puder!

**Dica:**

Expand Down
Loading