similar to: problem in reading file

Displaying 20 results from an estimated 100 matches similar to: "problem in reading file"

2007 Sep 29
1
[Help] Error when using nls
Hi, I am a student of Earthquake Engineering, and am new to R. Currently I try to run nonlinear regression analysis by R. My data has three variables: X, Y, and Z. Z is a function of (X, Y). My R script is as below. rm(list=ls()) # read in data Alldata <- read.table("~/Documents/R/Wu_data.dat", header=TRUE) # assign variables Z <- Wu[[1]] # N1,60 X <- Wu[[2]]
2007 Oct 01
1
[nls] singular gradient
Hi, I am new to R. I don't have strong background of statistics. I am a student of Geotechnical Engineering. I tried to run a nonlinear regression for a three-variable function, that is N = f(CSR, ev) # N is a function of CSR and ev, and N = CSR/(A +B*CSR), wherer (A,B) are function of ev. N, CSR and ev are observed in the experiments. Following is my R script. rm(list=ls())
2010 Jul 14
2
send out put to file in R
Hi I am using igraph package in R. My goal is to read a network (in "pajek" format) and decompose the network into components. In addition, I am also interested in sending this output to to a file. I am having problem in while writing to a file! my code looks like this g <- read.graph ("F://test.net", "pajek") compo <- decompose.graph(g,
2008 Sep 23
3
Outgoing service always on a certain external address
Hi, Shorewall version -4.0.12-2 (EL5 rpm version) OS : Centos 5.2 I have shorewall successfully running on Linux with multi ISP. Trying to make services such as "rsync, ftp" go through my secondary ISP. For which I did the following eth0 : Internal LAN eth4 : DSL (Second ISP) => x.x eth5 : T1 (First ISP) => y.y Created the following entries in
2004 Jan 11
24
More words for Allison
Here's the latest batch of words to get shipped out to Allison Smith. Please submit reasonably small changes to me by tomorrow 10:00 AM Eastern time, and I'll add them. As usual, donations to what will be a ~$110 USD expense would be appreciated, as I am paying for this round out of my pocket. Please send to paypal address "jtodd@loligo.com". I did not include all
2011 Mar 28
2
How to save heatmap as image or pdf
Hello Everyone, I am using R for creating heatmap from a square matrix. Below is my script to do so my_map <- read.csv("Desktop/input.csv", sep=",") my_matrix <- data.matrix(my_map) my_heatmap <- heatmap(my_matrix, Rowv=NA, Colv=NA, col = cm.colors(256), scale="column", margins=c(5,10)) I get a beautiful plot as output, but I could not save this plot
2004 Nov 06
3
how to read this matrix into R
the following the the lower.tri matrix in a file named luxry.car and i want to read it in R as a lower.tri matrix.how can i do? i have try to use help.search("read"),but no result what i want. 1.000 0.591 1.000 0.356 0.350 1.000
2008 Mar 25
1
Subset of matrix
Dear R users I have a big matrix like 6021 1188 790 290 1174 1015 1990 6613 6288 100714 6021 1 0.658 0.688 0.474 0.262 0.163 0.137 0.32 0.252 0.206 1188 0.658 1 0.917 0.245 0.331 0.122 0.148 0.194 0.168 0.171 790 0.688 0.917 1 0.243 0.31 0.122 0.15 0.19 0.171 0.174 290 0.474
2006 May 01
2
Pasting data into scan()
The file TENSILE.DAT from the Hand et al "Handbook of Small Data Sets" looks like this: 0.023 0.032 0.054 0.069 0.081 0.094 0.105 0.127 0.148 0.169 0.188 0.216 0.255 0.277 0.311 0.361 0.376 0.395 0.432 0.463 0.481 0.519 0.529 0.567 0.642 0.674 0.752 0.823 0.887 0.926 except that my mail client has replaced the tab separators by blanks. If I paste this data into R 2.2.1 what I get is
2008 Oct 24
6
routing packet from/to source/destination
Hi all and specially Mr. Tom.... (Please, do not be acid with me please! I am only a newbie, trying learn more about shorewall) I get involved with a Firewall Project in a customer here in my city... In this customer, he has two Internet Providers. So, he ask me how make certain connection following one routing path (like RT_1) and others connections type, following the other routing path
2009 Feb 23
1
why results from regression tree (rpart) are totally inconsistent with ordinary regression
Hi, In my analysis of impacts of insecticide-treated bednets on malaria, I look at the relationship between malaria incidence and mosquito behaviors. The condensed data set is copied here. Ordinary regression (lm) shows that Incidence was negatively related to Mortality. This makes sense because the latter reflected the strength of killing mosquitoes by insecticide-treated nets. Since the
2005 Aug 30
1
loglinear model selection
Hi R-masters! I have a problem and need your help. I have 9 discrete variables with 2 levels each. In exploratory analisys I generate one matrix with chi-square for tables with 2 ariables each with this script setwd("F:/") dados<-read.csv("log.csv")[,2:10] dados.x<-matrix(NA,ncol=9,nrow=9) for(i in 1:8){ for(j in (i+1):9){ tab<-table(dados[,i],dados[,j])
2003 Nov 18
2
x[x > y] and more conditions
...and i'm getting all cases which are true for above condition and get the information how many cases match, too. The vector's are in a attached data.frame. FAKTOR30[FAKTOR30 > 0.234] ................... [102193] 0.352 0.352 0.288 0.354 0.352 0.358 0.352 0.352 0.311 0.370 0.352 0.336 [102205] 0.352 0.274 0.352 0.405 0.354 0.352 0.352 0.352 0.352 0.352 0.352 0.340 [102217] 0.352 0.352
2004 Jan 17
0
New sounds posted
So, per the discussion last week and generous donations, we have some new sound files with which to work. The sounds are located in: http://www.loligo.com/asterisk/sounds/ For those of you who just want to download the _new_ sounds, please fetch: http://www.loligo.com/asterisk/sounds/20040117.newsounds.tar All of the sounds in that tarball are also in the main ../sounds/ directory in
2010 Feb 17
2
extract the data that match
Hi r-users,   I would like to extract the data that match.  Attached is my data: I'm interested in matchind the value in column 'intg' with value in column 'rand_no' > cbind(z=z,intg=dd,rand_no = rr)             z  intg rand_no    [1,]  0.00 0.000   0.001    [2,]  0.01 0.000   0.002    [3,]  0.02 0.000   0.002    [4,]  0.03 0.000   0.003    [5,]  0.04 0.000   0.003    [6,] 
2004 Jun 30
2
Question about plotting related to roll-up
Hello R'ers, I have a large set of data which has many y samples for each unit x. The data might look like: Seconds Response_time ---------- ---------------- 0 0.150 0 0.202 0 0.065 1 0.110 1 0.280 2 0.230 2 0.156 3 0.070 3 0.185 3 0.255 3 0.311 3 0.120 4 .... and so on When I do a basic plot with type=l or the default of points it obviously plots every
2009 Jan 29
1
failover for shorewall
I am using shorewall-4.2.5-1 on RHEL-5.2 for a MultiISP connection. Everything works great. I run vpn, proxy, mail relay on the firewall. Hence I do the application level management. So far I was using third party script "gwping" for my failover mechanism. Just wondering if shorewall has any native programs to handle fail over ? Thank you Chakri
2010 Jul 05
0
Execute commands in 'R' within PERL Program
Hi, I wrote a program in PERL which creates a file with .net extension (.. xyz.net). I want to call R from within my PERL program, execute 3-line command in 'R', store the output and get back to PERL program. RSPerl is of omegahat is a good software which creates interface between R and PERL, but unfortunately it doesn't work on my Windows XP. I used the following command in PERL to
2010 Jul 17
0
installing and loading packages
I don't think there"most". It is normal to have to call the "library" function for each package you need devices to during an R session. "chakri_amateur" <chakri2sai at yahoo.co.in> wrote: > >In my Windows XP, I just have to load package every time I open R, but not >Install !! > >There must be some problem during installation ! >
2007 Apr 16
1
2 samples KS-test...
Dear R-users, I have some trouble to perform a 2-samples KS test. Apparently my 2 samples are numerical (see below) but R complains that the "y" term is not.... ------------------------------------------------------------------------------------- > str(subset(mydata,Identified=="NO",select=KD)) 'data.frame': 2889 obs. of 1 variable: $ KD: num -0.272 -0.080