Search results

  1. noetsi

    Importing excel and graphing

    I thought I copied and pasted it from the book I was working from but apparently not. I am surprised I don't get an error. One of the hardest things for me in R as compared to SAS. Spelling matters so much.
  2. noetsi

    Importing excel and graphing

    I don't understand why this does not work (I get a blank chart with a Y and x axis). library(gcookbook) library(ggplot2) library(dplyr) library(tidyverse) climate_mod<- climate %>% filter (Source=="Berkley")%>% select(Year,Anomaly10y,Unc10y) ggplot(climate_mod, aes(x=Year,y=Anomaly10y))+...
  3. noetsi

    WANTED: Rational Coronavirus Analysis

    Covid 19 is messing up everything (well my time series continue to work, I have no idea how). And our political process is collapsing. Essentially the distribution is changing.
  4. noetsi

    Importing excel and graphing

    I am having trouble with data labels in bar charts. This should work, but does not center correctly perhaps because of the type of bar chart I am using. library(gcookbook) library(ggplot2) ggplot(cabbage_exp,aes(x=Date,y=Weight,fill=Cultivar))+...
  5. noetsi

    Analyzing and visualizing patient flow in an emergency department

    The calculation is possible I think based on what you have suggested. If you are asking about the charts. I think your first question can be done by simple descriptive or showing overall variation. I think your second and 3rd question can be done through regression. I don't know the charts in...
  6. noetsi

    Can I correlate multiple variables as a whole?

    You have to decide how you will combine the questions into anger as a whole (how you will combine them). Then combine them and you will have a single variable to correlate against a single variable. How you combine them is not simple. You should look at the literature on doing this.
  7. noetsi

    Importing excel and graphing

    I copied and pasted this from a link - since I am brand new to plotting. I will try to find the link and paste it here. I told 3 people who expressed an interest in learning R this webpage. They are learning from me which (beyond brining laughter here) is less than ideal. :)
  8. noetsi

    Importing excel and graphing

    library(graphics) boxplot(airquality[,0:4], main='Multiple Box plots',col=blues9) This generates multiple boxplots. How can you make each boxplot a different color? Or can you. I have not found the list of colors yet :p
  9. noetsi

    Importing excel and graphing

    Never mind
  10. noetsi

    problem with smooth package

    Bizarrely the issue seems to have been rlang whatever that is. When I reinstalled it the problems with the other packages went away.
  11. noetsi

    problem with smooth package

    library(smooth) Loading required package: greybox Error: package or namespace load failed for ‘greybox’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘rlang’ Error: package ‘greybox’ could not be loaded I have used this many times. I am not...
  12. noetsi

    Importing excel and graphing

    I got selected to teach the other, master programmers, in my unit R which dason is going to find incredibly amusing :) Given my known love of that language. :p But realistically for the limited uses I will make of it I will be able to use it. I am not doing rocket science.
  13. noetsi

    Importing excel and graphing

    Where I work they are going to want to see excel tables. I won't be exporting to multiple tabs, however.
  14. noetsi

    Importing excel and graphing

    Anyone know how to export a df from R into an excel table? :)
  15. noetsi

    Installing Rtools

    I note they say "Note that rtools40 is only needed build R packages with C/C++/Fortran code from source. By default, R for Windows installs the precompiled “binary packages” from CRAN, for which you do not need rtools!" I am pretty sure I have R for windows (everything we do uses that). But...
  16. noetsi

    Installing Rtools

    I won that fight hlsmith, although open source scares them. I still need them to add it.
  17. noetsi

    Installing Rtools

    I have Rstudio and R but I would like to add Rtools. I have to get our IT group to do this so I need to show them how (and that it cost nothing). Is there a simple way to add this.
  18. noetsi

    Importing excel and graphing

    I don't understand how that works gianmarco. How does it know which file to choose?
  19. noetsi

    Importing excel and graphing

    I did this trinker with a real excel file I have there (I already installed the package you mentioned but failed to use it correctly years ago) thanks a lot. library(readxl) mydataex <- read_excel("S:\\CIU\\Testfolder\\DataforTS.xlsx") tsdatax=ts(mydataex$Spend,start=c(2014,12),frequency=12)...
  20. noetsi

    Importing excel and graphing

    I have not gotten any errors importing excel. I have no idea how to do it at all. :) Here is a typical example of the code I run now [I don't have any way to give you access to the data so I tried to attached it but it won't let me attach csv files]. >...