search for: seta

Displaying 20 results from an estimated 117 matches for "seta".

Did you mean: set
2017 Dec 14
2
help with recursive function
...ot;EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", &quo...
2017 Dec 14
0
help with recursive function
...ot;, "EX01", > "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", > "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", > "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", > "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta&q...
2017 Dec 14
2
help with recursive function
...ot;EX01", >> "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", >> "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", >> "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", >> "seta", "seta", "seta", "seta", "seta", "seta", "seta", &quo...
2017 Dec 14
2
help with recursive function
...ot;EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", &quo...
2017 Dec 14
0
help with recursive function
...ot;EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", &quo...
2017 Dec 14
0
help with recursive function
...ot;, "EX01", > "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", > "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", > "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", > "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta&q...
2017 Dec 14
3
help with recursive function
...ot;EX01", >> "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", >> "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", >> "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", >> "seta", "seta", "seta", "seta", "seta", "seta", "seta", &quo...
2017 Dec 14
0
help with recursive function
...ot;EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", &quo...
2017 Dec 14
1
help with recursive function
...ot;, "EX01", > "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", "EX01", > "EX01", "EX01", "EX01", "EX01", "EX01", "EX01"), set = c("seta", > "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta", > "seta", "seta", "seta", "seta", "seta", "seta", "seta", "seta&q...
2015 May 28
2
La ejecución de mi script R es muy lenta
...iéndolo de la > forma correcta. > El código de mi programa es el siguiente: > > > #+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ## Set-A.csv y Outcomes.csv deben estar en el directorio actual > # Transforma csv a data frame > seta <- read.csv('Set-A.csv'); > outcomes <- read.csv('Outcomes-A.csv'); > > ids <- as.character(unique(outcomes$RecordID)); > ## Número de RecordsID distintos > Length_ids <- length(ids); #número de RecordsID distintos > ListaABP <- list('RecordID...
2015 May 29
3
Mi script R es muy lento
...ución que me han planteado. Mi programa carga Outcomes.csv y Set-A.csv (descargados de http://garrickadenbuie.com/blog/2013/04/11/visualize-physionet-data-with-r/, apartado Getting Started --> the code and the data set) de unos 50MB entre los dos. Mi código era: # Transforma csv a data frame seta <- read.csv('Set-A.csv'); outcomes <- read.csv('Outcomes-A.csv'); ids <- as.character(unique(outcomes$RecordID)); ## Número de RecordsID distintos Length_ids <- length(ids); #número de RecordsID distintos ListaABP <- list('RecordID'=-1,'SAPS.I'=-1, ...
2015 May 28
2
La ejecución de mi script R es muy lenta
Hola, Si no tienes inconveniente en compartir tu conjunto de datos (puedes dejarlo en un Dropbox y compartir enlace) o incluir una salida de la variables: "seta" y "outcomes" (función "save.image()") con eso podemos darte alguna solución mucho más rápida que la que planteas. En tu código con un bucle estás tratando de rellenar una lista que son los diferentes agregados y esto se puede hacer mucho más rápido (segundos) con varios p...
2015 Jun 01
2
Mi script R es muy lento
...ados de >> >> http://garrickadenbuie.com/blog/2013/04/11/visualize-physionet-data-with-r/ >> , >> apartado Getting Started --> the code and the data set) de unos 50MB entre >> los dos. Mi código era: >> >> >> # Transforma csv a data frame >> seta <- read.csv('Set-A.csv'); >> outcomes <- read.csv('Outcomes-A.csv'); >> >> ids <- as.character(unique(outcomes$RecordID)); >> ## Número de RecordsID distintos >> Length_ids <- length(ids); #número de RecordsID distintos >> ListaABP &lt...
2008 Mar 17
1
setAs vs setIs
Hi the list I am fighting with the twins setAs and setIs... Here are some questions and comments (comments to myself but that migth be wrong, it is why I am posting them) 1. Very surprising : using setIs define 'is', 'as<-' but not 'as' ??? 2. Using setAs define 'as', 'as<-' but not 'is'....
2020 Oct 05
2
S4 - inheritance changed by order of setClassUnion and setAs()
Dear colleagues, there is a behaviour with S4 (virtual) classes that I find very hard to understand: Depending on the position of setAs(), the tree of inheritance changes. This is my baseline example that defines the classes "grandma", "mother", "daughter" and a virtual class "mr_x". For a new instance if "daughter", "mr_x" is betweeen "mother" and "grandm...
2005 Mar 29
0
setAs between a new S4 class and "POSIXlt"
...Tue Mar 22), but got no answer. Now I do not know if the formulation of my question was unclear or the question is not so easy to answer or to easy (what I do not hope). My problem: I create a new S4 class, containing one slot, data (of class POSIXlt). I tried to define a transformation via setAs() between the new S4 class and the existing "POSIXlt" class that is virtual S4 Class with subclass "POSIXt". Then using as() gives an error message (see code below) when I transform from "POSIXlt" to the new class. Then I defined another as()...
2020 Oct 06
0
S4 - inheritance changed by order of setClassUnion and setAs()
...n tell (/conjecture), this is because the list of classes a particular class inherits from directly is appended to as needed, and so the order that a class extends others isd refined by the order that those connections are defined. We can see this with two setClassUnion calls, rather than required setAs: > setClass("grandma", slots = c(a = "character")) > setClass("mother", slots = c(b = "matrix"), contains = "grandma") > setClass("daughter", slots = c(c = "list"), contains = "mother") > setClassUnion(...
2004 Nov 26
1
Namespaces, coercion and setAs
I'm trying to resolve a small problem that has arisen from introducing a NAMESPACE for the package SparseM. Prior to the namespace I had a class "matrix.diag.csr" that consisted of diagonal sparse matrices. It was defined to have the same attributes as the matrix.csr class and setAs was used to define how to coerce integers and vectors into this form: setClass("matrix.diag.csr","matrix.csr") setAs("numeric","matrix.diag.csr",function(from){ if(length(from)==1){ n <- as.integer(from) if(n&g...
2005 Mar 22
0
setAs between a new S4 class and "POSIXlt"
...t;POSIXlt". I did the following: ## Definition of the new class: setClass("dtime", representation(data = "POSIXlt"), prototype(data = as.POSIXlt("2004/06/01"))) ## Transformation between the new class "dtime" and "POSIXlt": setAs("dtime", "POSIXlt", def = function(from) { from at data }) setAs("POSIXlt", "dtime", def = function(from) { new("dtime", data = from) }) ## Create a new "dtime" object: (x1 <- new("dtime")) str(x1) ## Transformation to &...
2003 Sep 28
1
infinite recursion during package installation with methods, setAs
...eta of R. I think I can reproduce it with a simple example. I have package called `testpkg' in directory testpkg/. In the R/ subdirectory of testpkg/ I have a file called testpkg.R which contains the following two lines: setClass("testpkg", representation(pts = "list")) setAs("testpkg", "numeric", function(from, to) as.numeric(unlist(from))) Then, in the main testpkg/ directory I have an empty `install.R' file and a dummy DESCRIPTION file (as well as an empty man/ subdirectory). When I run `R CMD INSTALL testpkg' I get the following outpu...