Re: [R] Suggestion for installation of R

2017-08-19 Thread John C Frain
The following installs a version of R on an android phone or tablet. I have tried it on a google 5x, Lenovo TAB , Bush Spira B2 10.and several other phones/tablets which I do not have acess to exact model descriptions Install Gnuroot Debian from the Google app store. This app installs an expandabl

Re: [R] Update data in text file with data in dataframe

2017-08-19 Thread John Kane via R-help
I think we need a bit more info on the data layout and what decision rule you are using to update the Date of Service. Are you just updating a record to provide the most recent DoS or are you correcting errors? Have a look at http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-repro

Re: [R] Update data in text file with data in dataframe

2017-08-19 Thread Jeff Newmiller
You might get someone on this last willing to invent something from scratch, but really this mailing list works best if you give very specific information, such as a verbatim copy of several records worth of your data file including all the stuff you want to skip over. Usually if someone is plan

[R] Update data in text file with data in dataframe

2017-08-19 Thread Nic
Hello all, I'm a novice R programmer and I don't have a clue as to how to approach this. I have tried many different approaches only to fail and I can't seem to wrap my head around it. So I turn to the experts. I have a text file with patient data that has incorrect dates of service. I nee

Re: [R] bootstrap subject resampling: resampled subject codes surface as list/vector indices

2017-08-19 Thread Aleksander Główka
Thank you and apologies for not having posted the data along with the code. After poking some more, I found the bug. I first initialize sample.subjects as an an empty list: sample.subjects = list() And then I try to the first element of that empty list. sample.subjects[1] = sample(unique(data

Re: [R] bootstrap subject resampling: resampled subject codes surface as list/vector indices

2017-08-19 Thread Bert Gunter
I din't have the patience to go through your missive in detail, but do note that it is not reproducible, as you have not provided a "data" object. You **are** asked to provide a small reproducible example by the posting guide. Of course, others with more patience and/or more smarts may not need th

[R] bootstrap subject resampling: resampled subject codes surface as list/vector indices

2017-08-19 Thread Aleksander Główka
I'm implementing a custom bootstrap resampling procedure in R. This procedure resamples clusters of data points obtained by different subjects in an experiment. Since the bootstrap samples need to have the same size as the original dataset, `target.set.size`, I select speakers compute their dat