search for: myn

Displaying 16 results from an estimated 16 matches for "myn".

Did you mean: mfn
2013 May 21
1
making makepredictcall() work
...9;m interested in creating a function similar to ns() from package splines that can be passed in a model formula. The idea is to produce "safe" predictions from a model using this function. As I have seen, to do this I need to use makepredictcall(). Consider the following toy example: myns <- function (x, df = NULL, knots = NULL, intercept = FALSE, Boundary.knots = range(x), extraArg = 0) { ns.x <- if (is.null(knots)) { ns(x, df = df, intercept = intercept, Boundary.knots = Boundary.knots) } else { ns(x, knots = knots, intercep...
2015 Dec 11
3
For integer vectors, `as(x, "numeric")` has no effect.
...e package checks (in CRAN + Bioc + ... - > land) will break, > but I still think we should add such a coercion to R. > Martin Hmm... I've tried to add the above to R and do notice that there are consequences that may be larger than anticipated: Here is example code: myN <- setClass("myN", contains="numeric") myNid <- setClass("myNid", contains="numeric", representation(id="character")) NN <- setClass("NN", representation(x="numeric")) (m1 <- myN (1:3)) (m2 <-...
2006 Nov 24
1
Error in Calling C++ function from R!!!
...ova.o -L/usr/lib/R/lib -lR After, I tried to call R from my working directory an Error occurs: > x<-c(1,4,6,2) > y<-c(3,2.4,1,9) > dyn.load("codigoprova.so") > is.loaded("codigoprova.so") [1] FALSE > product<-.C("prodgdot",myx=x,muy=y,myn=NROW(x),myoutput=as.double(0)) Error in .C("prodgdot", myx = x, muy = y, myn = NROW(x), myoutput = as.double(0)) : C symbol name "prodgdot" not in load table > Does anyone know what is the problem? Thank's in advance! Gilberto.
2015 Dec 12
2
For integer vectors, `as(x, "numeric")` has no effect.
...on to R. >> >>> Martin >> >> Hmm... I've tried to add the above to R >> and do notice that there are consequences that may be larger than >> anticipated: >> >> Here is example code: >> >> myN <- setClass("myN", contains="numeric") >> myNid <- setClass("myNid", contains="numeric", representation(id="character")) >> NN <- setClass("NN", representation(x="numeric")) >> &...
2015 Dec 11
0
For integer vectors, `as(x, "numeric")` has no effect.
...;> land) will break, >> but I still think we should add such a coercion to R. > >> Martin > > Hmm... I've tried to add the above to R > and do notice that there are consequences that may be larger than > anticipated: > > Here is example code: > > myN <- setClass("myN", contains="numeric") > myNid <- setClass("myNid", contains="numeric", representation(id="character")) > NN <- setClass("NN", representation(x="numeric")) > > (m1 <- myN (1:...
2015 Dec 19
2
For integer vectors, `as(x, "numeric")` has no effect.
...gt;> Martin >>>> >>>> Hmm... I've tried to add the above to R >>>> and do notice that there are consequences that may be larger than >>>> anticipated: >>>> >>>> Here is example code: >>>> >>>> myN <- setClass("myN", contains="numeric") >>>> myNid <- setClass("myNid", contains="numeric", representation(id="character")) >>>> NN <- setClass("NN", representation(x="numeric")) >>&gt...
2015 Dec 08
2
For integer vectors, `as(x, "numeric")` has no effect.
We do need an explicit method here, I think. The issue is that as() uses methods for the generic function coerce() but cannot use inheritance in the usual way (if it did, you would be immediately back with no change, since "integer" inherits from "numeric"). Copying in the general method for coercing to "numeric" as an explicit method for "integer" gives
2010 Mar 12
1
problem with parse(text=quote(name))
Calling parse(text=quote(name)) or text=as.name("name") makes parse() prompt for input from the command line and then it returns a parse of the initial characters of 'name' (depending on how many characters were typed at the prompt). E.g., > parse(text=quote(myName)) ?1/3 expression(myN) attr(,"srcfile") <text> > parse(text=quote(myName)) ?1/34 expression(myNa) attr(,"srcfile") <text> > parse(text=quote(myName)) ?1/345 expression(myNam) attr(,"srcfile") <text>...
2015 Dec 19
0
For integer vectors, `as(x, "numeric")` has no effect.
...gt;> Martin >>> >>> Hmm... I've tried to add the above to R >>> and do notice that there are consequences that may be larger than >>> anticipated: >>> >>> Here is example code: >>> >>> myN <- setClass("myN", contains="numeric") >>> myNid <- setClass("myNid", contains="numeric", representation(id="character")) >>> NN <- setClass("NN", representation(x="numeric")) >&gt...
2015 Dec 26
0
[Bioc-devel] For integer vectors, `as(x, "numeric")` has no effect.
...t;> >>>>> Hmm... I've tried to add the above to R >>>>> and do notice that there are consequences that may be larger than >>>>> anticipated: >>>>> >>>>> Here is example code: >>>>> >>>>> myN <- setClass("myN", contains="numeric") >>>>> myNid <- setClass("myNid", contains="numeric", representation(id="character")) >>>>> NN <- setClass("NN", representation(x="numeric")) &gt...
2007 Oct 13
2
the use of the .C function
Dear All, could someone please shed some light on the use of the .C or .Fortran function: I am trying load and running on R the following function // psi.cpp -- psi function for real arguments. // Algorithms and coefficient values from "Computation of Special // Functions", Zhang and Jin, John Wiley and Sons, 1996. // // (C) 2003, C. Bond. All rights reserved. // //
2016 Jan 05
2
For integer vectors, `as(x, "numeric")` has no effect.
...t;>> Martin >>>> >>>> Hmm... I've tried to add the above to R >>>> and do notice that there are consequences that may be larger than >>>> anticipated: >>>> >>>> Here is example code: >>>> >>>> myN <- setClass("myN", contains="numeric") >>>> myNid <- setClass("myNid", contains="numeric", representation(id="character")) >>>> NN <- setClass("NN", representation(x="numeric")) >>&gt...
2008 Aug 16
0
kickstart and 5.2 x86_64 giving errors.
...ed() File "/usr/lib/anaconda/gui.py", line 1045, in handleRenderCallback self.currentWindow.renderCallback() AttributeError: 'module' object has no attribute 'pumpNetDevice' Local variables in innermost frame: self: <network.Network instance at 0x2aeccea6c638> myns: 10.0.2.3 dev: DEVICE=eth0 BOOTPROTO=dhcp DHCPCLASS= HWADDR=52:54:00:12:34:56 ONBOOT=yes ------------------ # Kickstart file automatically generated by anaconda. auth --useshadow --enablemd5 install cdrom lang en_US.UTF-8 langsupport --default en_US.UTF-8 en_US.UTF-8 # Clear the Master Boot Re...
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that I have been working on I''m curious as to what we can expect to be extracted from there in 0.13? Was the API written as an ActionWebService or just as a set of controllers? Any generic AR xml parsing/output methods that we may see in 0.13? Any reason you decided to do everything with HTTP Get instead of utilizing
2004 Feb 24
0
Delivery Failure: Ziqxzb (PR#6609)
...EHdBgVip74r5HnK+6wFOWhL8TsDYAF3MDg+NvWgd9ESgT+A4SsXaLmarDw4kOCscYW+uyC+O ODp1YR6YzPCqPlsP3NQzd4QeQEbSygFGdK6DTXPST/gWwblh0d/A0F1t5QpCO9d86qDuYysVZQIq Qh0LA2rwOfo+Cqs57Reg7ioJCAsNdQ7rCyDSEBtzCxwHBjUNBQbK0YSBQisUF4L3hk6KcB1sK21t BQQwA4ZJAI7CcsMbkjVjDXWE86t3EggzDKON9EgDpldvx4UFgga2gEcQDGVpNj4EFNymUVBk/MYn 6nCbXYvB0M8SYApY0hAUCdVIUzEAEC/YpBO9D4fqH/gFJyqsNla+++21r0IzihdqihGA+iDKb/VW vvoJdRNBBzl/EuzSjQRFi//9gEGNRELQHjB96YA5Le2KEzUr4U37wYg+lzyCdX+z7SRy7xW+Ytz7 UaWjFuBcTDmkG7mDg0g9G/toMHvRCyGKAD2QJsIA9psH1A+JRi64iJZAUx0SYvKK/FLYg3Mxmalg 6i2Vd7TNVxGiU2FU8r6D2fXAmDr4xnWE9OjqBuoBiFY3hUa+LrfCGeeV7YzEPZDyg9mv...
2008 Aug 21
0
kickstart error on 5.2 exception
...ed() File "/usr/lib/anaconda/gui.py", line 1045, in handleRenderCallback self.currentWindow.renderCallback() AttributeError: 'module' object has no attribute 'pumpNetDevice' Local variables in innermost frame: self: <network.Network instance at 0x2b2109c8b680> myns: 65.24.0.168 dev: DEVICE=eth0 BOOTPROTO=dhcp DHCPCLASS= HWADDR=00:13:D4:FA:EB:53 ONBOOT=yes Anaconda instance, containing members: rootPath: /mnt/sysimage rescue_mount: True intf: InstallInterface instance, containing members: intf.ppw: InstallProgressWindow instance, containing members:...