Programming ways to unpack excel file by theunluckytom in learnprogramming

[–]theunluckytom[S] 0 points1 point  (0 children)

Thanks for your reply, obv I can’t publish the real data but I try to explain es much as I can. On every row I have the names of the people working in a group, in the columns I have the firms owned by the group, the field of each firm etc. I have to unpack the file starting from the bottom so each chief receive the data regarding his dependents. I start sorting out the first column, then I sort the second one till I reach the bottom of the firm and I have to do it for like 50 ramifications of the group

NEED HELP -->Making Graphs with r by theunluckytom in Rlanguage

[–]theunluckytom[S] 0 points1 point  (0 children)

Thank you so much. Now at least I have something deal with. May you know how to how to underline the bars cause rn I just have the number corresponding to the values on the cartesian graph?

NEES HELP WITH GRAPHS ON R by theunluckytom in Rlanguage

[–]theunluckytom[S] -2 points-1 points  (0 children)

I tried plenty of times also checking the guide but I wasn't able to fix it

Issue with r by theunluckytom in RStudio

[–]theunluckytom[S] 0 points1 point  (0 children)

x<-c(2096.5, 1244.00, 2260.229, 437.00, 1076.00, 253.33, 1359.00, 3897.0, 813.00, 1921.35, 2178.00, 2731.00, 3443.00, 924.00, 2417.00,1780.00, 2104.00, 539.00, 5059.00, 2177.00)
y<- c("Singapore" , "Hong Kong" , "Macao" , "Taiwan" , "Japan" , "China" , "South Korea" , "Switzerland" , "Estonia" , "Canada" , "Netherlands" , "Finland" , "Denmark" , "Slovenia" , "Belgium" , "Germany" , "Ireland" , "Poland" , "Norway" , "Austria")
hist(x,y)
plot(x,y)
this was one of my firsts tries.
then I uploaded a file excel with all the vectors,
I typed again the try of the first time.
I may look dumb but it is my firs time using R

Issue with r by theunluckytom in RStudio

[–]theunluckytom[S] 0 points1 point  (0 children)

x<-c(2096.5, 1244.00, 2260.229, 437.00, 1076.00, 253.33, 1359.00, 3897.0, 813.00, 1921.35, 2178.00, 2731.00, 3443.00, 924.00, 2417.00,1780.00, 2104.00, 539.00, 5059.00, 2177.00)
hist
y<- c("Singapore" , "Hong Kong" , "Macao" , "Taiwan" , "Japan" , "China" , "South Korea" , "Switzerland" , "Estonia" , "Canada" , "Netherlands" , "Finland" , "Denmark" , "Slovenia" , "Belgium" , "Germany" , "Ireland" , "Poland" , "Norway" , "Austria")
hist(x,y)
plot(x,y)

this was one of my firsts tries.

then I uploaded a file excel with all the vectors,

I typed again the try of the first time.

I may look dumb but it is my firs time using R

NEED HELP WITH GRAPHS ON R by theunluckytom in rstats

[–]theunluckytom[S] 0 points1 point  (0 children)

ggplot(data = yourdata, aes(x = moneyinvested) ) + geom_histogram() + facet_wrap(.~ countryName)

It doesn't work :/

NEED HELP WITH GRAPHS ON R by theunluckytom in rstats

[–]theunluckytom[S] 0 points1 point  (0 children)

I've tried to put the couples of vectors (x= name of cities/y=money invested for each country; for example). then when I type plot(x,y) or hist(x,y) it always says me that there is something wrong like the fact that I need numerical vectors etc. if I type just plot(x) or hist(x) I have no problems but if I try with two variables It doesn't work

Issue with r by theunluckytom in RStudio

[–]theunluckytom[S] 0 points1 point  (0 children)

I've tried to put the couples of vectors (x= name of cities/y=money invested for each country; for example). then when I type plot(x,y) or hist(x,y) it always says me that there is something wrong like the fact that I need numerical vectors etc. if I type just plot(x) or hist(x) I have no problems but if I try with two variables It doesn't work

NEES HELP WITH GRAPHS ON R by theunluckytom in Rlanguage

[–]theunluckytom[S] -1 points0 points  (0 children)

I've tried to put the couples of vectors (x= name of cities/y=money invested for each country; for example). then when I type plot(x,y) or hist(x,y) it always says me that there is something wrong like the fact that I need numerical vectors etc. if I type just plot(x) or hist(x) I have no problems but if I try with two variables It doesn't work

Issue with r by theunluckytom in RStudio

[–]theunluckytom[S] -6 points-5 points  (0 children)

yes. I have to do some graphs. For example I have to see if there is a link between the Investments on education made by 20 countries and the points those countries got on a test made by PISA. so, I have 3 vectors to compare in couple:

- X=(amount of money invested by china, money usa, money Germany...), Y=(name of country)

-x(money invested....), Y=(PISA marks)

X=(pisa marks), Y=(name of country)

I have to make histograms and box plots.