similar to: conditional assignment

Displaying 20 results from an estimated 1000 matches similar to: "conditional assignment"

2003 Nov 02
5
booting initramfs
Hi all I'm trying to boot with initramfs I build my own root fs, and the kernel build links it, I have double checked this when the kernel boots unpack_to_rootfs() returns no error, so it continues and .... when It tries to mount the rootfs it tries to mount from an IDE device (where the kernel was built from), and not from the initramfs "image" I think this is not documented
2003 Oct 27
3
assign a constant to a different column for each row
Hi all I want to assign a constant to a different column for each row eg: m[1,2] <- 0; m[2,3] <- 0; m[3,1] <- 0; m[4,2] <- 0; m[5,1] <- 0; ... etc... i've tried apply/tapply with no luck and also the following coefs <- rtt.abs[,5:8]; coefs.i <- coefs[] == 1; coefs[coefs.i] <- 0; wich results in "matrix subscripts not allowed in replacement"
2004 Jan 14
3
summary() within a function
I have the following function f <- function { ... model <- lm(rttx[,1] ~ rttx[,2] + 0); summary(model); ... } while summary(model) shows the summary if I execute the function line by line in the Command Line Interface, if I call f() summary is silent how to solve it? or is there workaround? thanks in advance Ulisses Debian GNU/Linux: a dream come true
2004 Feb 20
9
R: Including R plots in a Microsoft Word document
Greetings List, I am conducting some large simulations using R. As a result, I get many plots but I'm having some trouble with including some of them in a Microsoft Word document. Can any one tell me the easiest method of having copies of the R-graphs in the Word documents? Best regards Mahmoud [[alternative HTML version deleted]]
2001 Apr 05
3
increasing the size of the journal data file
Hi all I'm running succesfully 2.2.19pre13ext3 as mentioned in the subject line, I would like to increase the journal file I have the jfs/* and ext3/* files and I believe that: + asigning a new journal (-o journal=[new inode or increased inode]) data can solve it + increasing the actual file _appending zeroes_ to it can be used to increase it online, however the new space will not be
2004 May 05
4
Discontinuities in a simple graph (machine precision?)
Hi, I've got an ugly but fairly simple function: mdevstdev <- function(a){ l <- dnorm(a)/(1-pnorm(a)) integrand <- function(z)(abs(z-l)*dnorm(z)) inted <- integrate(integrand, a, Inf) inted[[1]]/((1- pnorm(a))*sqrt((1 + a*l - l^2))) } I wanted to quickly produce a graph of this over the range [-3,3] so I used: plotit <-function(x=seq(-3,3,0.01),...){
2004 Jul 06
3
Improving effeciency - better table()?
Hi, I've been running some simulations for a while and the performance of R has been great. However, I've recently changed the code to perform a sort of chi-square goodness-of-fit test. To get the observed values for each cell I've been using table() - specifically I've been using cut2 from Hmisc to divide up the range into a specified number of cells and then using
2011 Mar 04
3
Análisis de una serie temporal diaria
Hola a todos Estoy tratando de analizaruna serie temporal con datos diarios de temperaturas (40 años). He creado un objeto zoo (con ayuda de la lista, gracias) sobre el que encuentro la regresión lineal. He probado también a crear un objeto ts a partir del zoo. El problema que encuentro es que nose puede aplicar la función stl para hallar la componente estacional y la tendencia. Rdice que la
2011 Jul 13
7
Extraer datos mensuales de una serie temporal
Hola a todos Estoy intentando extraer un subconjunto de datos de una serie temporal, concretamente quiero extraer los meses de verano de varios años pero no encuentro la manera. Los datos tienen este formato: FECHA;H_SOLAR;DIR_M;DIR_S;VEL_M;VEL_S;VEL_X;U;V;TEMP_M;HR;BAT;PRECIP;RAD;UVA;UVB;FOG;GRID;
2011 Jun 03
1
R and DBSCAN
Hello everyone, When looking for information about clustering of spatial data in R I was directed towards DBSCAN. I've read some docs about it and theb new questions have arisen. DBSCAN requires some parameters, one of them is "distance". As my data are three dimensional, longitude, latitude and temperature, which "distance" should I use? which dimension is related to
2008 Jan 17
2
Anyone Using a Dell PowerEdge T105 in Production
Unbeatable price for a low end Asterisk server (or any server for that matter) http://configure.us.dell.com/dellstore/config.aspx?c=us&cs=04&kc=6W300&l=en&oc=bednv4k&s=bsd I wonder if anyone has any experience with this box and Digium or Sangoma hardware? Any compatibility issues? If not, I might stock up on them. Thanks, Steve Totaro -------------- next part
2012 Jun 27
4
Intervalos de variable de proporciones, para representar en mapa
Hola. Tengo que representar en un mapa, valores de proporciones de extranjeros con tarjetas de residencia en vigor, según nacionalidad y país de procedencia. Los datos son de este estilo Rumania Andalucía 0,200365823 Aragón 0,377192073 Asturias 0,205353012 I. Baleares 0,06592893 Canarias 0,03050312 Cantabria 0,190397393 Castilla-León 0,211670421 Castilla-La Mancha
2013 May 22
3
definir tipo de variable
Buenos días ¿Podríais explicarme cómo defino en R el tipo de variable y las etiquetas de la misma y las etiquetas de valor?. En SPSS utilizo la siguiente sintaxis: VARIABLE LEVEL DB030(NOMINAL). VARIABLE LEVEL DB040(NOMINAL). VARIABLE LEVEL DB090(SCALE). VARIABLE LABELS DB010 'AÑO'. VARIABLE LABELS DB020 'PAÍS'. VARIABLE LABELS DB030 'ID_HOGAR'. VARIABLE
2006 Jan 12
2
SIP phones unbeatable echo
Hey all again, I'm wrestling with echo problems on our sip extensions. I've set these items in zapata.conf but tweaking these values doesn't seem to make much difference echocancel=yes echocancelwhenbridged=yes echotraining=2500 rxgain=8.0 txgain=1.0 are there other settings that can help me tame this beast? Been searching but not turning up anything that'll work here. Thanks
2009 Jul 31
43
Error: uninitialized constant MysqlCompat::MysqlRes
Hi, I installed the "kwatch-mysql-ruby" gem on my Debian server but when I try to run the "db:migrate" task I get the following error: ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate rake aborted! uninitialized constant MysqlCompat::MysqlRes
2011 Mar 15
3
fitting a distribution to a ecdf plot
Dear all, I need to plot an cumulative distribution plot of a variable and then to fit a distribution to that, probably a weibull or lognormal. I have plotted the ecdf as > plot(ecdf(x)) but I haven't managed to fit the distribution. I have as well attached the data. I would appreciate if you could help me on that. Thank you. Kind regards Maria -------------- next part --------------
2011 Jul 26
2
Beta distribution- help needed
Hi, Well, i need some help, practical and theoretical. I am wondering why the fitdistplus (mle function) is returning an error for this code: [code] x1 <- c(100,200,140,98,97,56,42,10,2,2,1,4,3,2,12,3,1,1,1,1,0,0); plotdist(x1); descdist(x1, boot =1000); y<- sum(x1); d= as.vector(length(x1)); for(i in 1:length(x1)){ d[i] = x1[i]/y; } fitdist(d, "beta") [/code] Error:
2018 Feb 04
4
[VLIW Scheduler] Itineraries vs. per operand scheduling
Hi, What is the best way to model a scheduler for a VLIW in-order architecture? I've looked at the Hexagon and R600 architectures and they are using itineraries. I wanted to understand the benefit in using itineraries over the per operand scheduling. I also found this thread from almost 2 years ago: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098763.html At that time it seemed the
2005 May 12
3
Upgrade from yum
Can I upgrade my CentOS using yum? Regards, israel
2005 May 12
3
DNS master slave update issue
I have a situation where the slave nameservers for a zone are being notified by the master that a change has occurred but the slaves are not requesting a zone file transfer in consequence. Is there some special flag or directive that I must set somewhere in order for this activity to be automatic upon receipt of such notices? All systems involved are running DNS 9.2.4. Regards, Jim --