search for: enres

Displaying 20 results from an estimated 22 matches for "enres".

Did you mean: endres
2009 Apr 05
2
loop problem for extract coefficients
...oeffcients in each iteration. I got an error message . I do not know where is the problem???? Please help me. Thanks *Code:* ------------------------------------------------------- library(elasticnet) X<-matrix(rnorm(200),ncol=20) Y<-matrix(rnorm(200),ncol=20) loop <- 20 size <- 20 enres<-matrix(nrow = size, ncol = loop) fit<-matrix(nrow = size, ncol = loop) store<-matrix(nrow = size, ncol = loop) for(j in 1: 10) print (paste(j,"/200",sep="")) { enres<-enet(x=X,y=Y[,j],lambda=1,normalize=TRUE,intercept=TRUE) fit<-predict.enet(enres, X, type="...
2016 Aug 17
3
Porcentajes por grupos
Hola. Necesito calcular los porcentajes de un valor dado (valores) como porcentaje de la suma de ese mismo valor pero agrupando por una tercera columna (en este caso, podría ser Mes-Año). El resultado sería el que se ve en la var: "EnR" Necesito además que ese resultado quede pegado en mi data.frame. Año Mes AñoMes Factor Valores enR 2015 1 2015-1 a 105 0.25 2015 1 2015-1 b 104 0.24 2015
2016 Aug 18
2
Porcentajes por grupos
Hola Eric. Muchas gracias por tu respuesta. Intenté hacer lo mismo sobre una variable agregada a datos, de modo: datos$p_Valores <- datos[, Valores/sum(Valores), by=MesAño] pero no funciona, porque pega un data.table en una única variable: In `[<-.data.table`(x, j = name, value = value) : Supplied 2 items to be assigned to 5849 items of column 'pValores' (recycled leaving remainder
2007 May 01
5
duplicate key violates unique constraint
I''ve run into an interesting issue. When setting up a table with data from a file (I''m doing this in a block). I find that I can''t create separate entries manually after the import. It complains about a duplicate primary key. I''ve tried Schedule.id += 1 but id= either isn''t defined or accessible in the class Here is my code:
2012 Apr 20
1
ggplot2: Legend title
I'm designing a set of plots intended for a general audience; here's the code for one of them, using the latest version of ggplot: plot.enr.all <- ggplot(data=df1, aes(x=HS_GRAD_YEAR, y=Percentage, group=Enrolled_by, color=Enrolled_by, shape=Enrolled_by, fill=Enrolled_by)) + geom_line() + geom_point(size=3.5) + scale_y_continuous(breaks=seq(0, 100, 10),
2004 Sep 07
1
gridBase and heatmap
I would like to use gridBase to place four separate heatmaps (actually, a stripped-down heatmap.2 from ght gregmisc package that contains only the "image" part) into four different viewports. I can get the placement correct, but I keep 'losing' the previous plot. Any suggestions? Here is some quick example code trying to put a heatmap into the left viewport and then
2002 Jul 18
2
file refresh on windows 98 client
I have the following problem. I run samba on a HP-UX 11 system (L1000). 1)I have a file on UNIX on /shdir/prova3/silvana.txt with the following content: AAAAAAAAA. 2) I delete and recreate the file with the following instructions: rm /shdir/prova3/silvana.txt echo BBBBBBBBBB > shdir/prova3/silvana.txt 3) I try to see the file on a Windows98 client but I see the old versione of the file: I
2007 Aug 24
0
DTFM not recognise
Hello,Maybe I don't understand what DTMF in ASCII means but I can't make my record stop using this syntax in a PHP agi script :fwrite(STDOUT, "RECORD FILE /var/lib/asterisk/ENR/jeanpaul wav '#' 15000 BEEP s=3000\n");The php syntax isn't a problem because I really start recording, I have a beep, the record can't long more than 15sec and after 3sec of silence my
2010 Feb 05
2
Importing data coming from Splus into R.
Hello there, I spent all day yesterday trying to get a small data set from Splus into R, no luck! Both, Splus and R, are run on a 64-bit RedHat Linux machine, the versions of the softwares are 64-bit and are as what follows: Splus: TIBCO Software Inc. Confidential Information Copyright (c) 1988-2008 TIBCO Software Inc. ALL RIGHTS RESERVED. TIBCO Spotfire S+ Version 8.1.1 for Linux 2.6.9-34.EL,
2010 Sep 14
7
II jornadas
Estimados usuarios de R en Castellano Hace meses la Escuela Politécnica de Mieres asumió la organización de las II Jornadas de Usuarios de R en Castellano. Como miembro del comité organizador, os envío una primera propuesta del programa a realizar, en la que las comunicaciones se prevé inicialmente se dividan en cuatro temáticas: 1. Aplicaciones industriales. 2. Aplicaciones médicas. 3.
2020 Oct 30
0
FREDR and R 3.6
On Thu, 29 Oct 2020, H writes: > I tried to install the fredr package yesterday to > access the data series hosted by the St. Louis Fed but > my installation of R, version 3.6, tells me it is not > available from a cran repository. > > I could not find any information on this on the fredr information package and was wondering if anyone here might know? > Just for
2023 Dec 11
1
Small typo in Sweave.Rnw
In the first paragraph of Sweave.Rnw (./src/library/utils/vignettes/Sweave.Rnw), it reads for literate programming \cite{fla:Knuth:1984}. but probably should be for literate programming \citep{fla:Knuth:1984}. ^ kind regards Enrico -- Enrico Schumann Lucerne, Switzerland http://enricoschumann.net
2014 Mar 10
0
Fwd: How to get guest's cpu and mem usage with Java APIs
I would like to know how much memory and cpu virtual machine are using so yes guest's perspective. I'm building a web app that has to alert the user when the vm is going to be stressed and I would like to do this in terms of mem and cpu usage. Thanks in advance for your support, Enrico De Maio On Mon, Mar 10, 2014 at 7:16 PM, Eric Blake <eblake@redhat.com> wrote: > On
2023 Mar 13
1
Versioning Rtools ARP entries
Hi, If I am not mistaken, all Rtools 4.2 (and 4.3) revisions have the same ARP [1] entries, i.e. all report version 4.2.0.1 (or 4.3.0.1). This makes it difficult to determine the installed version (is it possible to determine the installed revision?) and impossible for tools like winget [2] to update Rtools to the latest revision, AFAICT. Would it be possible to track the version in the
2024 Jan 30
2
Basic astronomy package recommendation wanted.
On Tue, 30 Jan 2024, Richard O'Keefe writes: > Given > - UTC timestamp > - a location (latitude,longitude,elevation) > I want to know > - the sun angles > - the moon angles > - the phase of the moon. > I looked on CRAN for astronomy, but didn't notice anything that seems > to offer what I want. I could try coding these functions myself, but > "if
2023 Feb 21
1
wininet deprecation
On Tue, 21 Feb 2023, Selke, Gisbert W. writes: > On Mon, 20 Feb 2023 15:58:33 +0000, Stadler Thomas <thomas.stadler at vpbank.com> wrote: > >> as the download method 'wininet' is deprecated, I'm looking into alternative ways to install packages from within R. >> Unfortunately, curl, libcurl and wget refuse to cooperate with Kerberos on our corporate setup.
2019 Aug 08
0
Producing different text formats in R
>>>>> "Llu?s" == <Lluis.Hurtado at uv.es> writes: Llu?s> Dear all, Llu?s> I am facing a strange problem with text files formats. Llu?s> I am currently using a C++ code named voro++ (http://math.lbl.gov/voro++/). This code accepts text files with four columns: Llu?s> <id> <x> <y> <z> Llu?s> where id is
2019 Feb 07
0
Bug Report: read.table with UTF-8 encoded file imports infinity symbol as Integer 8
There seems to be something odd with "?" on Windows (and not only with read.table) In native encoding (cp-1252 in my case), "?" gets converted to "8" x <- "?" Encoding(x) #> [1] "unknown" print(x) #> [1] "8" charToRaw(x) #> [1] 38 "?" is indeed "8" identical(x, "8") #> [1] TRUE Everything
2014 Mar 10
3
How to get guest's cpu and mem usage with Java APIs
Hi everybody, I'm using libvirt java api bindings for my thesis. I would like to know if there is a way to obtain live information about cpu and mem usage of a domain. Regards, Enrico De Maio Skype: enrico.de.maio Mobile: +39 338 205 3397
2023 Jun 08
1
Cryptic error from stargazer
On Thu, 08 Jun 2023, Ashim Kapoor writes: > Dear All, > > I had done an automatic upgrade of my Debian 10 system which had also > upgraded R. > > I reinstalled the stargazer package and the error went away. > > Query : Do I need to reinstall all packages with each upgrade of R ? > > Best, > Ashim Your session info says "stargazer 5.2.2". What version