Re: [R] Help to find ksl data set

2018-10-07 Thread Jiblal Upadhya
Thanks, I'll check it out. On Thu, Oct 4, 2018 at 1:48 AM David Winsemius wrote: > > > On Oct 3, 2018, at 10:18 PM, Jiblal Upadhya wrote: > > > > Hi, > > > > I need help in finding the ksl data set mention in the deal package in > the > > paper attached. I searched in the UCI Machine learning

Re: [R] Genuine relative paths with R

2018-10-07 Thread Jeff Newmiller
On Sun, 7 Oct 2018, Olivier GIVAUDAN wrote: Hello Denes, > Yes, the path to the "root" folder of your project. You seem to have a  really esoteric context if you want to run an R script without knowing  its path in the file system. I don't have any esoteric context: I'm just looking for the mo

Re: [R] Smoothing by group - Panel data - exponential/loess

2018-10-07 Thread Bert Gunter
1. This doesn't make much sense: smoothdf <- data.frame( x = 1:n, y = as.vector(smooth(dat$g)), method = "smooth()" ) What do you think the "method" invocation does (data.frame has no "method" argument)? 2. Show us what you have tried -- it depends on what graphics system you use. In latti

[R] Smoothing by group - Panel data - exponential/loess

2018-10-07 Thread Miluji Sb
Dear all, I have panel data for a series (g) for three time periods. The variable is likely autocorrelated. I would like to generate a new variable using exponential/loess smoothing by group (gid). For time series, I could have done something like this; smoothdf <- data.frame( x = 1:n, y = a

Re: [R] Requesting for help on the problem of "subscript out of bounds"

2018-10-07 Thread Subhamitra Patra
Thanks a lot. On Sun, Oct 7, 2018 at 6:16 PM Michael Dewey wrote: > If you look at the documentation for plot() you will see a type > parameter which can take a number of values including plot = "l" to get > lines, and so on. > > On 07/10/2018 11:03, Subhamitra Patra wrote: > > Thanks a lot, Sir

Re: [R] Requesting for help on the problem of "subscript out of bounds"

2018-10-07 Thread Michael Dewey
If you look at the documentation for plot() you will see a type parameter which can take a number of values including plot = "l" to get lines, and so on. On 07/10/2018 11:03, Subhamitra Patra wrote: Thanks a lot, Sir. I'll check them out. But, I have 1 more query that in which package "b" a

Re: [R] Genuine relative paths with R

2018-10-07 Thread Ista Zahn
Hi Olivier, Please keep the list copied so others can join our discussion. On Sat, Oct 6, 2018 at 4:39 PM Olivier GIVAUDAN wrote: > > Hi Ista, > > No worry :) > > "/path/to/dir" is what I call hardcoded path. Yes, we share the same definition :-) > And I do want to work with relative paths in c

Re: [R] Requesting for help on the problem of "subscript out of bounds"

2018-10-07 Thread Subhamitra Patra
Dear Friends, Further, I want to compute the APEn values for the multiple files in a folder. In particular, along with the loop for the columns in one data file (through the code that I mentioned above), I have to write a loop for the multiple files (having same dimensions) in a folder. But, I am

Re: [R] Requesting for help on the problem of "subscript out of bounds"

2018-10-07 Thread Subhamitra Patra
Thanks a lot, Sir. I'll check them out. But, I have 1 more query that in which package "b" and "l" functions are available? Can you please educate me about the usage of "b" and "I" in my code. For your reference, I am writing my code here again. N<-ncol(ts) > r<-matrix(0, ncol = N, nrow = 1)