search for: valus

Displaying 20 results from an estimated 41 matches for "valus".

Did you mean: value
2011 Apr 12
2
split string into individual valus while reading in R
Dear R experts Sorry for posting: I have text file that I need to read into R (this is out from different program). A portion of data look like: ;example data 1_1 ch1 0.0 HAAAHHAAAHHAAAAAHHAHHAHAHHHAAHHAHAAAAHAAAHHAHHAAHAHHAAAAHAAAHHHAAAHHAHHHAAAHHHHAHHAAHAAAAHAHHHHHAAAHAHHAHHHHAHHHHHHHHHAAHAAHHHAHAAAAAHHHHHHAHHHHHAHHHH 1_2 ch1 0.1
2011 Oct 03
4
distance coefficient for amatrix with ngative valus
Hi, I need to run a PCoA (PCO) for a data set wich has both positive and negative values for variables. I  could not find any distancecoefficient other than euclidean distace running for the data set. Are there any other coefficient works with negtive values.Also I cannot get summary out put (the eigen values) for PCO as for PCA.   Thanks. Dilshan [[alternative HTML version deleted]]
2007 Oct 29
2
UI drop down list pulled from database values in activescaffold
as i''m finding it difficult to override the form Ui elements using activescaffold -= i''m looking for a help to build a drop down list in UI (values pulled from databse through SQL query) and so user can select these valus while submitting to database. pls provide any example strictly using activescaffold plugin. thanks selvan-kalaiselvan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to...
2006 Mar 20
3
Grabbing the billsec and duration after a hangup.
Hello, I am wondering if someone has got any ideas that can help solve this problem. I have a dial plan that you call into, and depending on certain conditions it calls out on a number grabbed from a database. Something like this : exten => s,n,Do something exten => s,n,Do something else exten => s,n,Dial(ZAP/g1/${OUTBOUND},${timeout}) I need to log the time the person
2005 Sep 09
2
R-help Digest, Vol 31, Issue 9
Hi: I use lm (linear model) to analyze 47 variables , 8 responses So I use loop to finish it . I want the program to show the results that P-value is less than 0.05. How can I cite the P-valus from lm result ? Ping The code: #using LM to model general fati for (j in 48:52) { for (i in 3:46){ gen.fat<-y_x[,j] gen.fat<-as.numeric(gen.fat) snp_marker<-y_x[,i] x<-colnames(y_x) #snp_marker<-as.matrix(snp_marker) #mode(snp_marker) cat("phenotype is = ",x[j] , &q...
2002 Sep 18
2
comparing elements in a vector
...sage----- From: owner-r-help at stat.math.ethz.ch [mailto:owner-r-help at stat.math.ethz.ch]On Behalf Of Sven Garbade Sent: Wednesday, September 18, 2002 9:35 AM To: r-help at stat.math.ethz.ch Subject: [R] comparing elements in a vector Hi all, there is a vector d which contains three different valus: 0, 1 or 2. I wrote a loop which gives me T, when the values in d changed from 1 to 2 or from 2 to 1, otherwise F: for(i in 1:(length(d)-1)) { if(d[i] != d[i+1] & d[i] != 0 & d[i+1] != 0) change[i+1] <- T else change[i+1] <- F } This works, but I'm won...
2012 Apr 26
2
write to M, using row and columns taken from A and B, with values from C
...than A and B, so only the first 67420 elements of C are used in my loop.So how can I improve it to take then the next 67420 and write it to new file and so on till the 248th 67420. Many thanks library(Matrix) M <- Matrix(-9999, 360, 720) ## creat matrix with 720 columns and 360 ro ws with valus of -9999 long <- file("C:\\New folder (5)\\inra.bin", "rb") A = readBin(long, integer(), size = 2, n = 1*67420, signed = TRUE) lot <- file("C:\\New folder (5)\\lat.img", "rb") B = readBin(lot, integer(), size = 2, n = 1*67420, signed = TRUE) wind...
2007 Jun 25
1
hello, is there a way to exclude duplicates of a field?
hi, this is what i am trying to accomplish Post.find_by_contents("artist:#{session[:srchstring]}*") this returns to me all artist with the first letter of say ''n'' is there a way to not repeat valuse of the same artist? thank you so much for the help./ -- Posted via http://www.ruby-forum.com/.
2010 May 20
2
writing autocorrelation and partial auto correlation functions to a file
Dear All, I am very new to T. I need to fit a ARIMA model to my time series. So I found the auto correlation functions and partial auto correlation function in R. Now I want to save these valuse along with the significance levels to a file. How to do that?. I tried some function in R like write.table but returns an error "cannot coerce class "acf" into a data.frame". The I tried "write" but returned again an error "Error in cat(list(...), file, sep,...
2005 Sep 01
2
VarCorr function for assigning random effects: was Question
...ased if anybody can help me. I'm using linear mixed model (lme) function.I'm doing some simulation in my research and need to be assigned variance components values during of my program. Specifically, when I use lme function, I can get some information by use summary() and I can assign some valuse like variance of fixed parameters and variance of random error term by using for example varFix and sigma.But I don't know how I can assign for variance of random effect. I know in SPLUS we have command var.ran, how about R ? Thanks alot. M.Torabi ___________________________________________...
2010 Oct 18
1
boxplot ranked x labels
Dear R users, x-values (EI) = Adw, EG1, LA1, Ad1, LA2, LA3...(14 levels, insect stages) y-valus = antpop within the boxplot function x-values are ordered alphabetically Idea: x-values ranked by list order (insect stage: Egg stage 1 is followed by Larvae 1 and not by Egg stage 2 as it would be in an alphabetically order) Problems with the order(tapply()) function: variable lengths diff...
2005 May 10
3
Allow - disallow bug?
...LAN to Internet for all workstations EXCEPT for some of them. Default policy is REJECT LAN to INT traffic, so rule created in /etc/shorewall/rules is: ACCEPT LAN:!192.168.100.101,192.168.100.115 INT all ... like it is written in documentation: "!" before list of comma separated valuse with no blanks. It DOES NOT work. First address really can''t go to Internet, second and subsequent ones can. Shorewall status shows following IPTABLES tules: Chain LAN2INT (1 references) 2 96 ACCEPT all -- * * !192.168.100.151 0.0.0.0/0 0 0 ACCEPT...
2012 Oct 26
0
[LLVMdev] Data sharing between two ALUs and avoiding illegal copies
...ALU (sALU) and 64 Vector ALUs (vALU). The sALU is mainly responsible for flow control (implemented using predicates) and loading data from read-only memory. The vALU does most of the data processing and has a much larger instruction set than the sALU. Even though a compute unit has 1 sALU and 64 vALUs, from the programmers perspective, there is just one sALU and one vALU. Programs written for Southern Islands intermix sALU and vALU instructions and all instructions are executed in order no matter what ALU the are executed on, so there is no synchronization needed between the ALUs. Each ALU has...
2005 Dec 23
1
key value pairs working
Hi, can anyone tell me how is the following lines in ruby works on rails .how is the key value pairs accessed by rails . params[:invoiceitem].each do |key, val| @invoice.invoiceitems << InvoiceItem.new(val) end Thanx and regards, Naroor Rathish, www.naroor.blogspot.com -- Posted via http://www.ruby-forum.com/.
2005 Aug 11
2
question
Hi, I have a problem with R, after an update: this piece of code: cat("creating resolver data frame\n"); dfG<-cbind(dfG,2^(RGN$G)) dfR<-cbind(dfR,2^(RGN$R)) suddenly, creates values to inf. Is the syntax changed for the ^ symbol in the latest R downloadable version? Kind regards, wilfred -- Dr. Ir. Wilfred Van IJcken Labmanager Genomics Erasmus Center for Biomics,
2012 Apr 25
0
locate values to their positions based on their pixel and line in other files
...om B and locate it in my new matrix. this is to be done for first row out of 248 rows and write it to new file then do the same for the second row and write to a new file and so on for all 248 rows. library(Matrix) M <- Matrix(-9999, 360, 720)## creat matrix with 720 columns and 360 rows with valus of -9999 long <- file("C:\\New folder (5)\\inra.bin", "rb") A=readBin(long, integer(), size=2,n=1*67420, signed=TRUE) lot <- file("C:\\New folder (5)\\lat.img", "rb") B=readBin(lot, integer(), size=2,n=1*67420, signed=TRUE) for (i in c(1:67...
2014 Sep 02
2
Custom SIP-header not present in call Asterisk to Asterisk
Hello, I have a situation where a call comes in to my Asterisk server B. This call comes from another Asterisk server A. I want to tell to this server A why my server B hangs up. So just before hanging up, I add a custom SIP-header : exten => s,n,SIPAddHeader(X-My-Hangup: MaxChan) exten => s,n,Hangup() But I notice that this extra SIP-header is not send within the SIP-reponse :
2007 Dec 04
2
Multimedia Metadata Format (M3F) draft
Hi ogg-dev list, I have improved the format formally known as Media Description and Metadata (MDMF) for the Ogg Container Format. Please have a look at the M3F page in the wiki http://wiki.xiph.org/M3F The format have been simplified and designed primarily with audio and movie recordings in mind. The old version focused on providing separate tools for each media type, were the new version
2007 Jul 05
3
Loop and function
Hi All, I am trying to make a loop for a function and I am using the following codes. "p" and "var" are some matrix obtained before. I would like to apply the function "gpdlow" for i in 1:12 and get the "returnlow" for i in 1:12. But when I ask for "returnlow" there are warnings and it turns out some strange result. for (i in 1:12){ gpdlow
2012 Mar 10
3
How do I do a pretty scatter plot using ggplot2?
Hi all, I am trying hard to do the following and have already spent a few hours in vain: I wanted to do the scatter plot. But given the high dispersion on those dots, I would like to bin the x-axis and then for each bin of the x-axis, plot the quantiles of the y-values of the data points in each bin: 1. Uniform bin size on the x-axis; 2. Equal number of observations in each bin; How to do