Giter VIP home page Giter VIP logo

r-programs's People

Contributors

ezgraphs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

r-programs's Issues

With my own CSV doen't work and mutate_each deprecated

Dear Ezgraphs,

I would like very interesting your example about radar grpahs, I want to create a radar graph with the data of my own Csv but doesn't work. Maybe I don't know as much as you in R that could be the reason.

I appreciate your collaboration in help me to solve why my code doesnt work.
kind regards

That's my code:

``library(dplyr)
library(ggplot2)
library(scales)
library(reshape2)
library(tibble)

Prepare data

file="C:...../Desktop/pa.csv"
df <- read.csv(file, header=TRUE, sep=",") %>%

rownames_to_column( var = "country" ) %>% # tibble
head(country)
mutate_each(funs(rescale), -country) %>% # scales
melt(id.vars=c('country'), measure.vars=colnames(file)) %>%
arrange(country)

Facet by variable

df %>%
ggplot(aes(x=country, y=value, group=variable, color=variable)) +
geom_polygon(fill=NA) +
coord_polar() + theme_bw() + facet_wrap(~ variable) +
#scale_x_discrete(labels = abbreviate) + # Can increase the text size and uncomment
theme(axis.text.x = element_text(size = 3))
``
and the CSV:

var1, var2, var3, var4, var5, var6
c1,1,3,3,3,2
c2,2,4,3,4,4
c3,5,5,3,3,5
c4,4,4,2,3,3
c5,4,4,3,4,5
c6,5,5,3,2,5
c7,5,5,4,5,5
c8,5,5,4,4,5
c9,4,4,2,3,3
c10,4,3,2,2,2
c11,5,4,3,5,5
c12,4,4,3,3,3
c13,3,2,3,3,1
c14,3,2,2,3,4

Can't do anything with Github

If I try to clone a repository to my desktop says: "2015-07-04 15:32:05.5710|INFO|thread:51|AsyncReaderWriterLock|Released concurrent scheduler for operation: 212:GitClient.cs:218" in the debug log, if i try to publish something says "Error" and nothing else.

image
image

opts is deprecated

I tired to run the mandlebrot R code. And discovered that opts is deprecated. Please rewrite the code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.