similar to: invalid arguments RUNIF

Displaying 20 results from an estimated 7000 matches similar to: "invalid arguments RUNIF"

2008 Jun 16
0
error in runif
Hi all I would be grateful you can help me with my problem. I try to run an optimization code . in one line I have runif in order to sample the PDF. I get this error while i run it. Error in runif(1, f$d[[n.of.u.vars + n.of.o.vars + j]][[2]][1], f$d[[n.of.u.vars + : invalid arguments Here is a part of that code: # initialize random numeber generator if (seed>0)
2008 Jun 22
1
readLines problem in iteration
Hi there My script at each iteration produces a .dat file which I save in a directory with write.table. Then I need to read each line of this file and create a directory for each line and put elements of that row in that directory. I do it with the following script which I have inserted somewhere between my outer iteration loop, it works fine for the first iteration, but the problem is that it
2008 Jun 19
1
add counter to file name + dir.create
Hi all I have 2 loops with 2 counters, say outer loop counter is X and inner loop counter is Y. In outer loop a data file with known number of columns and unknown number of rows is generated in each script iteration. What inner loop should do is to read this file line by line and generate a directory for each row, then put the elements of that row in a text file insides the generated
2002 Dec 16
1
help
Hi I download the R, but I dont know how to get the script (syntax) file and run it. I would be very pleased for any help. Regards. Yasin -- Yasin Al-tawarah Tel: (01782) 583652 E-mail: mad26 at keele.ac.uk
2013 Jun 21
2
an issue about removing "NA"s from an array
Hi,* *I would like to set the entries of an array that appear as "NA" to a certain integer, but did not find a way to do so. The related code is given below: A <- array(-1000 , dim=c(100) ); for(i in 1: 100 ){ A[i] =B[i,57] - B[i,5]; } A [ which( A == "NA") ] <- 900; The "NA"s still appear as the entries of the array A. Can you tell me what is
2017 Oct 12
0
comparing two strings from data
It's generally a very good idea to examine the structure of data after you have read it in. str(data2) would have shown you that read.csv() turned your strings into factors, and that's why the == operator no longer does what you think it does. use ... data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE) ... to turn this off. Also, the %in% operator will achieve
2017 Oct 12
4
comparing two strings from data
Hi, I have two columns that contain numbers along with letters (as shown below) and have different lengths. Each entry in the first column is likely to be found in the second column at most once. For each entry of the first column, if that entry is found in the second column, I would like to get the corresponding index. For instance, if the first entry of the first column is 5th entry in the
2006 Jun 15
1
username/auth name mismatch
Hi, I have a asterisk/voip newbie and I am sorry if my quetion is banal. I used in my private LAN, Express Talk on Windows XP and Asterisk latest version on Fedora Core 4 , with this configuration in Express Talk Lines menu: Setting for Line: Default Line Settings Full 'friendly' Display Name: port SIP Numeber: 200 Server: 10.0.0.112 Password: mypassword In menu Network: Local SIP Port
2017 Oct 13
1
comparing two strings from data
Combining and completing the advice from Greg and Boris the complete solution is two lines: data_2 <- read.csv("excel_data.csv", stringsAsFactors = FALSE) match_list <- match( data_2$data1, data_2$data2 ) The vector match_list will have the matching position when it exists and NA's otherwise. Its length will be the same as the length of data_2$data1. You should get
2002 Jun 11
3
RES: OpenSSH with slow login
I gueess it is not a DNS problem, because either using name or IP, I have always the problem. I guess the problem is that I am using ssh on inetd.conf (sshd -i), so It has to generate a key each time I start a session. What do you think ? -----Mensagem original----- De: Dan Kaminsky [mailto:dan at doxpara.com] Enviada em: segunda-feira, 10 de junho de 2002 20:51 Para: Jorge Cleber Teixeira de
2010 Dec 29
5
linear regression for grouped data
Hi, I have been examining large data and need to do simple linear regression with the data which is grouped based on the values of a particular attribute. For instance, consider three columns : ID, x, y, and I need to regress x on y for each distinct value of ID. Specifically, for the set of data corresponding to each of the 4 values of ID (76,111,121,168) in the below data, I should invoke
2006 Jul 17
2
Quantreg error
Dear User, I got the following error running a regression quantile: > rq1<-rq(dep ~ ., model=TRUE, data=exo, tau=0.5 ); > summary(rq1) Erro em rq.fit.fnb(x, y, tau = tau + h) : Error info = 75 in stepy: singular design Any hint about the problem? Thanks a lot, ________________________________________ Ricardo Gon?alves Silva, M. Sc. Apoio aos Processos de Modelagem Matem?tica
2008 Jul 21
4
help to install poser 7
Hi i tray install poser 7 on wine 1.1.1 and my hardy heron 64 bits , the installation is fine , when i run it ., the screen is deform only can restart but i have a impr paint http://img147.imageshack.us/img147/2600/pantallazo2cb1.png , why deform my screen and the impr paint it's fine ? , well apply gatito at gatito:~$ WINEDEBUG=warn+all wine poser.exe for debug and this is my lines : gatito
2001 May 10
1
Samba binary on AIX
Hi, I was searching for a version of Samba (2.0.7) but I've not found any compiled version for IBM AIX 4.3.3... Are there any issues on that platform? Are you planning to relaesa a binary version? Thanks, Michele Donna ____________ GE Global eXchange Services Product Specialist GE Global eXchange Services Via San Gregorio 34 20124 Milano, Italia Tel. +39 02 66705.1 - Fax +39 02 6694496
2006 Jul 13
2
MLE and QR classes
Hi, I load my data set and separate it as folowing: presu <- read.table("C:/_Ricardo/Paty/qtdata_f.txt", header=TRUE, sep="\t", na.strings="NA", dec=".", strip.white=TRUE) dep<-presu[,3]; exo<-presu[,4:92]; Now, I want to use it using the wls and quantreg packages. How I change the data classes for mle and rq objects? Thanks a lot,
2011 Nov 30
1
s/n ratio detection etc...
Hi everybody, I' ve been following this list for a while now. Is there a way to detect the individual and cumulative s/n ratio values for the incoming calls in Asterisk or any other Call Center solution?... -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111130/d0d53c1f/attachment.htm>
2002 Jun 10
3
OpenSSH with slow login
Hi, I have installed Openssh on a HP-UX 11.00 and I am having a problem. It lasts 5 minutes to login, after I enter my login and password. I try to connect from a Windows machine having a Tera Term SSH client to the HP UX with the OpenSSH server ? Why does it take so long time (5 minutes) to establish a connection from a remote machine to this openssh server ? When I do Telnet to the same
2006 Jul 26
3
Moving Average
Dear R-Users, How can I compute simple moving averages from a time series in R? Note that I do not want to estimate a MA model, just compute the MA's given a lenght (as excel does). Thanks ________________________________________ Ricardo Gonçalves Silva, M. Sc. Apoio aos Processos de Modelagem Matemática Econometria & Inadimplência Serasa S.A. (11) - 6847-8889 ricardosilva@serasa.com.br
2004 Aug 04
1
What's ``impres''?
Dear all, In one S+ program, I found the following code. if (impres) cat("blah blah blah \n") Would someone here like to tell me what's the counterpart in R to impres in S+? Thanks in advance! Best wishes, Jinsong ===== (Mr.) Jinsong Zhao Ph.D. Candidate School of the Environment Nanjing University 22 Hankou Road, Nanjing 210093 P.R. China E-mail: jinsong_zh at yahoo.com
2012 Jul 26
2
precision warning in delaunayn function
Dear R helpers, I try to use the 'delaunayn' function in the 'geometry' package for Delaunay triangulation in 2 dimensions. For the four following points, I get a warning message : > coord=matrix(ncol=2,byrow=TRUE,c(622633,7073452, + 621228,7073517, + 621879,7071762, +