Re: [R] calculating quintile values of numeric data?

2019-01-22 Thread Jeff Newmiller
?range ?findInterval On January 22, 2019 6:54:14 PM PST, Kelly Thompson wrote: >I’d like to take numeric data, and calculate numeric “quintiles” with >integer values in from 1 – 5 , with values in the lowest 20% of values >having a value of 1, the >20 - <= 40% of values having a value of 2, >the

[R] calculating quintile values of numeric data?

2019-01-22 Thread Kelly Thompson
I’d like to take numeric data, and calculate numeric “quintiles” with integer values in from 1 – 5 , with values in the lowest 20% of values having a value of 1, the >20 - <= 40% of values having a value of 2, the >40% - <=60% of values having a value of 3, etc. How can I use quantcut, or another

[R] Unable to compute Confidence Intervals from output from MARSS package

2019-01-22 Thread Ashim Kapoor
Dear All, I am trying to use this package ---> https://cran.r-project.org/web/packages/MARSS/index.html I am reading this book which shows some examples based on the above package ---> https://nwfsc-timeseries.github.io/atsa-labs/ In a few words, the incantation MARSS(...) estimates the parameter

Re: [R] large number of scrollable histograms....

2019-01-22 Thread Jeff Newmiller
You can use knitr (child documents) with rmarkdown to generate an html file containing many htmlwidgets. There are many htmlwidgets you can choose from, see [1]. You can also use htmlwidgets with shiny if you prefer, though I don't know if you can get the many plots simultaneously with shiny. S

Re: [R] large number of scrollable histograms....

2019-01-22 Thread Enrico Schumann
> "akshay" == akshay kulkarni writes: akshay> dear members, akshay> I am a day trader based in INDIA. I use R for my research. akshay> I have about 200 vectors whose histograms I need to akshay> inspect. I have to compare them simultaneously. akshay> I know methods wher

Re: [R] large number of scrollable histograms....

2019-01-22 Thread Eric Berger
Another alternative is to use ggplot2 to create the various plots, then put them into a list and use cowplot::plot_grid to plot the grid of plots with a specified number of rows and columns. Here's some pseudo code to give you the general idea Step 1: generate the plots and put them into a list fo

Re: [R] large number of scrollable histograms....

2019-01-22 Thread PIKAL Petr
Hi what about to create all histograms in pdf device? see ?pdf Cheers Petr > -Original Message- > From: R-help On Behalf Of akshay kulkarni > Sent: Tuesday, January 22, 2019 2:21 PM > To: R help Mailing list > Subject: [R] large number of scrollable histograms > > dear members, >

[R] large number of scrollable histograms....

2019-01-22 Thread akshay kulkarni
dear members, I am a day trader based in INDIA. I use R for my research. I have about 200 vectors whose histograms I need to inspect. I have to compare them simultaneously. I know methods whereby you can plot multiple histograms on one screen. However, you can clear

[R] R: plot partial effects

2019-01-22 Thread Sebastian Heyneman
Dear All: I tried to replicate a case study described by Prof. Harrell in Chapter 7 of his Regression Modeling Strategies book, but failed on using plot to reproduce partial effects diagram in figure 7.9, Following is the code: rm(list=ls()) library(Hmisc) getHdata(counties) counties$old