Re: [R] Use mapply or lapply to a nested list

2020-12-22 Thread Chao Liu
Jim and Ben, Thank you for your help. I will play around the commands and function you suggested. Best, Chao On Tue, Dec 22, 2020 at 4:07 AM Jim Lemon wrote: > Hi Chao, > I think what you are looking for is the "rapply" function in the base > package. Not sure that it can do exactly what you

Re: [R] plm

2020-12-22 Thread Bert Gunter
Well, you may get lucky and get a reply here, but per the posting guide linked below, which you are **supposed to** read and follow **before** posting: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R

Re: [R] error in installing limma

2020-12-22 Thread Martin Morgan
limma is a Bioconductor package so you should use https://support.bioconductor.org I'd guess that you've trimmed your screen shot just after the informative information. Just copy and paste as plain text the entire output of your installation attempt. Presumably you are using standard practices

[R] plm

2020-12-22 Thread KENNETH KIGUNDU
Dear all I am working on a paper where I am analysing energy-non energy substitution possibilities in a manufacturing sector. In this case, I am estimating a translog cost function jointly with factor share equations under SUR modeling. The estimation requires me to impose linear homogeneity rest

[R] Problem with mlr3 parameters optimization

2020-12-22 Thread Neha gupta
Hello everyone, I performed a parameters optimization in mlr3 and then pass it to the benchmark to compare the optimized and a baseline learner, but it give an error message and does not recognize the optimized (i.e. at) learner. df=readARFF("nasa93.arff") task=TaskRegr$new("df", df, target = "a

Re: [R] Use mapply or lapply to a nested list

2020-12-22 Thread Jim Lemon
Hi Chao, I think what you are looking for is the "rapply" function in the base package. Not sure that it can do exactly what you request but worth a look. Jim On Tue, Dec 22, 2020 at 6:36 AM Chao Liu wrote: > > I want to apply a sample function to a nested list (I will call this list > `bb`) and