favs <- read.table("favorites.txt", sep=",", header=TRUE)

# perguntando o arquivo a ser aberto
favs <- read.table(file.choose(), sep=",", header=TRUE) 

# de outra forma (abreviada)
favs <- read.csv("favorites.txt")

#mostrando primeiras linhas do quadro
head(favs)

#lidando com tipos de dados
class(favs)
class(favs$flavor)
class(favs$number)

favs$flavor


head(mtcars) # cabeçalho dos dados 'mtcars
unique(mtcars$carb) # lista de valores distintos
table(mtcars$carb) #contagem de valores simples

cut(airquality$Temp, 9)
table(cut(airquality$Temp, 9))

teste <- table(cut(airquality$Temp, 9))

sals = c(41.000 , 40.300 , 38.000 , 500.000 , 41.500 , 37.000 , 39.600 , 42.000 , 39.900 , 39.500)
median(sals) # média
mean(sals) #mediana

summary(sals)

Este artigo foi útil ?
SimNão

6 Replies to “Base Carregamento de Dados em R”

  1. c54111 disse:

    Curious about c54111… What’s the deal? Going to give it a whirl. Anything interesting happen for you there? Check it out for yourself: c54111

  2. mig8app disse:

    Just downloaded the mig8app! Seems pretty smooth and easy to use on my phone. Handy for placing bets on the go. Wish they had more live streaming options, but overall, a pretty decent app for mobile betting.

  3. kingfunapk disse:

    Kingfunapk is my new jam. The app is super easy to use and has all my favorite games. If you are looking for a quality gaming app, give kingfunapk a download!

  4. casinuucasino disse:

    Casinuucasino, nice! Found some of my favorite games here. The signup process was easy, and I’ve had a smooth overall experience. Might stick around for a while. Worth checking out casinuucasino if you are a regular casino player.

  5. good88moe disse:

    Thinking of trying out good88moe. Anyone had any decent wins there? Keen to hear your experiences before I dive in. Learn more at: good88moe

  6. ok365app disse:

    Yo, ok365app is pretty slick! Downloaded it last week and already hooked. Easy to use and the games are actually fun. Check it out ok365app

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Close Search Window