search for: tempy

Displaying 13 results from an estimated 13 matches for "tempy".

Did you mean: temp
2008 Oct 31
0
R help for invoking nmmin()
My code is as follows: #include <iostream> #include <cmath> using namespace std; #define MATHLIB_STANDALONE 1 extern "C" { #include "R_ext/Applic.h" } typedef struct TT{ double ** tempX; double * tempY; int tempN; } TT, *MM; double fn(int N, double * beta, void * ex){ double total = 0; int i = 0,j = 0; double * betaFn = new double[N]; MM tmp = (MM)ex; for(i = 0; i < N; i++) { betaFn[i] = exp(beta[i]); } for(j = 0; j < tmp->tempN; j++) { double temp = 0; for(i = 0; i <...
2004 Jun 01
2
Importing binary data
Hi everybody! I've a large dataset, about 2 Mio entries of the format which I would like to import into a frame: <integer><integer><float><string><float><string><string> Because to the huge data amount I've choosen a binary format instead of a text format when exporting from Matlab. My import function is attached below. It works fine for only
2005 Feb 14
1
how can i make my program faster
...y data of table into an array for each column, and then i add new data into my array, then i copy my array into the table one column by one column. For example temptrial <- table1$trial; temptrial <- c(temptrial, "1, 2"); tempx <- table1$x; tempx <- c(tempx, "1, 2"); tempy <- table1$y; tempy <- c(tempy, "1, 2"); table1 <- data.frame(trial = temptrial, x = tempx, y = tempy); the way i am doing makes my program very slow, because i need to copy the data from one variable to another variable all the time. however, it should not be necessary, so...
2023 Jan 12
1
return value of {....}
...the "closure", but writing code in interactive sessions may not always be straightforward. 2.) Missing arguments f = function(x, y) { ??? if(missing(y)) { ?? ?? ? # assuming x = matrix ??? ??? y = x[,2]; x = x[,1]; ??? } } It would be much more cumbersome to define/use a temporary tempY. I hope this gives a better perspective why this is indeed a useful feature - even if it is counterintuitive. Sincerely, Leonard
2009 Nov 06
1
Survival Plot in R 2.10.0
...status) ~ x, data = aml) > plot(leukemia.surv, lty = 2:3) ## works fine > plot(leukemia.surv, lty = 2:3, fun="cloglog") ## works fine > plot(leukemia.surv, type="p") ## generates error below: Error in plot.default(tempx, tempy * yscale, type = "n", log = logax, : formal argument "type" matched by multiple actual arguments > search() [1] ".GlobalEnv" "package:survival" "package:splines" [4] "package:stats" "package:graphics" "...
2002 Feb 13
3
Verba Volant
We have been requested to insert the following email address, "samba@samba.org", in the Verba Volant Newsletter database. Through this daily service you will receive a quotation, selected from amongst the most celebrated philosophers, writers and poets of all time and translated into many languages and dialects by volunteers worldwide. If you would like to confirm your subscription to
2001 Feb 28
1
Spider diagrams
Hi, I am trying to create what are called "spider diagrams" in the geochemical literature using R. A spider diagram is basically a plot of the atomic number versus the concentration on a log scale. Lines are drawn from each atomic number for each sample. Right now, my data frame looks like: SAMPLE SITE V3 LA.NASC LAATNUM CE.NASC CEATMNUM 1 1A:001
2018 Mar 01
1
[PATCH net-next 1/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
On Thu, 1 Mar 2018 11:19:04 +0800 Jason Wang <jasowang at redhat.com> wrote: > XDP_REDIRECT support for mergeable buffer was removed since commit > 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() > case"). This is because we don't reserve enough tailroom for struct > skb_shared_info which breaks XDP assumption. Other complaints are, the >
2002 Jul 26
1
Verba Volant
26-JUL-02 We have been requested to insert the following email address, "openssh-unix-dev at mindrot.org", in the Verba Volant Newsletter database. Through this daily service you will receive a quotation, selected from amongst the most celebrated philosophers, writers and poets of all time and translated into many languages and dialects by volunteers worldwide. If you would like to
2002 May 02
2
plot survival points
Hi all, I have a little problem. I make an weibull survival analysis using the survival package. It,s OK, them I have the functions. I plot this funcions with curve(). I want to make a plot with the real survival points (proportion of alive x time) and them add the curves to points. I have the time to dead, the censor data and my trataments. To analysis the model is: model1 <-
2008 Jan 24
1
zfs showing more filesystem using ls than df actually has
...e200m drwxr-xr-x 4 root root 512 Jan 17 2007 system drwxr-xr-x 2 root root 512 Jun 7 2007 temp drwxr-xr-x 2 root root 512 Jan 24 2007 temp0 drwxr-xr-x 2 root root 512 Jan 24 2007 temp1 drwxr-xr-x 2 root root 512 Oct 9 15:22 tempy drwxr-xr-x 3 root root 512 May 16 2007 test drwxr-xr-x 2 root root 512 Oct 3 13:24 test1 -rw-r--r-- 1 root root 466 Feb 6 2007 test123 drwxr-xr-x 3 root sys 4 Oct 1 09:21 testpool drwxr-xr-x 2 root root 512 Jun 25 11:02 t...
2018 Mar 01
7
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
Hi: This series tries to re-enable XDP_REDIRECT for mergeable buffer which was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() case"). Main concerns are: - not enough tailroom was reserved which breaks cpumap - complex logic like EWMA and linearizing during XDP processing Fix those by: - reserve enough tailroom during refill - disable EWMA
2018 Mar 01
7
[PATCH net-next 0/2] virtio-net: re enable XDP_REDIRECT for mergeable buffer
Hi: This series tries to re-enable XDP_REDIRECT for mergeable buffer which was removed since commit 7324f5399b06 ("virtio_net: disable XDP_REDIRECT in receive_mergeable() case"). Main concerns are: - not enough tailroom was reserved which breaks cpumap - complex logic like EWMA and linearizing during XDP processing Fix those by: - reserve enough tailroom during refill - disable EWMA