[R] Question about behavior of sample.kind in set.seed (R 3.6)

2019-04-11 Thread Elizabeth Purdom
Hello, I am trying to update a package for the upcoming release of R, and my unit tests are affected by the change in the sample. I understand that to reproduce the old sampling, I need to set sample.kind=“Rounding” in RNGkind or set.seed. But I am confused by the behavior of the sample.kind

Re: [R] Bifactor model and infit statistics?

2019-04-11 Thread Bert Gunter
This is essentially a statistics question, which are generally off topic here. This list is about the R programming language. Try stats.stackexchange.com instead for your question. To see what R offers once you've decided what to do, see: https://cran.r-project.org/web/views/ as well as

[R] Bifactor model and infit statistics?

2019-04-11 Thread kende jan via R-help
Goodafternoon, I amcurrently in the process of calibrating an item bank using a GPCM model. So, amI right to assume that the bifactor model allows me to work with my generalfactor by assimilating it to a one-factor model, without taking into account groupfactors? That is, I can estimate my

Re: [ESS] How to type an underscore "_" in emacs with ESS in a SAS program

2019-04-11 Thread Alex Branham via ESS-help
On Thu 11 Apr 2019 at 12:58, Karen Taves via ESS-help wrote: > I am new to using ESS and am using ESS 18.10.2 and trying to type an > underscore "_" in emacs in a SAS program and am getting the following > error message: Symbol's function definition is void: > ess-smart-S-assign Hi Karen -

[ESS] How to type an underscore "_" in emacs with ESS in a SAS program

2019-04-11 Thread Karen Taves via ESS-help
I am new to using ESS and am using ESS 18.10.2 and trying to type an underscore "_" in emacs in a SAS program and am getting the following error message: Symbol's function definition is void: ess-smart-S-assign I suspect that I need to add something to my .emacs file. My .emacs file as the

[R] Multi step ahead backtest

2019-04-11 Thread Alessandro Vesci
Hi all, this is my first post so sorry if there's something wrong. I'm doing a project for university, and I should have to do the rolling windows forecasting for 2 or more step ahead. Does anyone know a code (or a cycle "for") to overpass the problem of "n.ahead=1"? Thanks a lot for who will

Re: [R] Unable to read csv files with comma in values

2019-04-11 Thread Amit Govil
Sorry for reverting back late (as I had some issues with my laptop) and thank you Bert and Duncan for your suggestions and approach. I'll try the solutions proposed and get back to you. Thanks Amit On Mon, Apr 8, 2019 at 3:30 AM Bert Gunter wrote: > ... and if anyone cares, here's a way to do

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Ben Tupper
Hi, It's best to keep all of the replies on the list - you will get better answers and leave a trail for others with similar questions to follow. If you need more help, I strongly suggest that you start a fresh question on r-sig-geo. I suppose you could try the panel argument to levelplot().

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Ben Tupper
Hi, That's great topic to search on RSeek.org https://rseek.org/?q=plot+multiple+rasters+with+one+legend or to pose a question about on r-sig-geo Cheers, Ben > On Apr 11, 2019, at 11:32 AM, Kristi Glover wrote:

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Kristi Glover
Dear Ben, Thank you very much for the message. I run it and it produced three separate images with X and y Axis and a legend for each image. I was thinking to plot all of these three images with a single legend and only X axis value at the bottom's image and y values for each image. I added

Re: [R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Ben Tupper
Hi, I think you want to build a levelplot object with polygon overlaid for each layer. Like the link below shows but with the added layer per your example. https://oscarperpinan.github.io/rastervis/FAQ.html#several_rasters Also, you will get bucket loads of spatial-centric help using the

[R] How to overlay a vector map (polygon) on raster maps?

2019-04-11 Thread Kristi Glover
He R users, I have been struggling to plot a boundary map over the raster maps. I tried using the following example, but the boundary map could not be displayed over the three raster maps. It works if we plot for a single raster. However when I want to plot the three maps using "levelplot" and