search for: dist1

Displaying 15 results from an estimated 15 matches for "dist1".

Did you mean: disc1
2009 Oct 14
1
TFTP prefix in pxelinux.0 ?
Hello, I wonder if it is possible to change pxelinux.0's tftp prefix... I want to setup a repository like that: |-- dist1 | |-- pxelinux.cfg | | `-- default | `-- pxelinux.0 |-- dist2 | |-- pxelinux.cfg | | `-- default | `-- pxelinux.0 |-- pxelinux.cfg | |-- default | `-- menu.c32 `-- pxelinux.0 The file /pxelinux.cfg/default would contain something like that: > LABEL dist1 > MENU LAB...
2005 Oct 06
1
Compare two distance matrices
Hi all, I am trying to compare two distance matrices with R. I would like to create a XY plot of these matrices and do some linear regression on it. But, I am a bit new to R, so i have a few questions (I searched in the documentation with no success). The first problem is loading a distance matrix into R. This matrix is the output of a the Phylip program Protdist and lookes like this: 5
2012 Mar 24
0
Loess CI
...# estimated df from r wconstant <- summary(lo1)[17]$weights # set weight; otherwise 1 (as in this case) res <- residuals(lo1) # y-yhat ss <- sum(wconstant *res^2) s <- sqrt(ss/df) # r terms this residual standard error x0 <- x1[1] # focal x for first observation dist1 <- abs(x1 - x0) # distance from focal x h <- sort(dist1)[.4*length(x1)] # bandwidth for span: bandwidth = span*length(x1) inwindow <- dist1 <= h # observations within window d <- dist1[dist1 <= h] z <- d/h w1 <- (1-abs(z)^3)^3 w2 <- sum(w1^2) s*sqrt(w2) # calcu...
2004 Oct 01
3
Reading multiple files into R
I want to read data from a number of files into R. Reading individual files one by one requires writing enormous amount of code that will look something like the following. **************** maptools:::dbf.read("wb-01vc.dbf")->dist1 maptools:::dbf.read("wb-02vc.dbf")->dist2 maptools:::dbf.read("wb-03vc.dbf")->dist3 maptools:::dbf.read("wb-04vc.dbf")->dist4 maptools:::dbf.read("wb-05vc.dbf")->dist5 maptools:::dbf.read("wb-06vc.dbf")->dist6 maptools:::dbf.read(&quo...
2005 Sep 30
0
p-value for non-linear variable in overdispersed glm()
Dear all, I am fitting an nonlinear glm() using optim() by first minimising glm(resp~ var1 + var2, family=binomial, data=data)$deviance where var1= exp(-a1*dist1), and var2= exp(-a2*dist2), where a1 and a2 are parameters and dist1 and dist2 are independent variables. Next, I calculate the value of var1 (and var2) by plugging in the value of al1 (and al2) that minimises deviance, and fit glm(resp~ var1+var2 , family=binomial, data=data) Var1 in this model...
2013 Mar 10
1
Error with grad() for numerical differential of a function
...grad() and I have programmed some simulated studies. I have testes with 72,576 different combinations of the initial values and now I got an error in only 4 situations. The error comes from the function grad() and I don't understand why. This is the output: Error in grad.default(Sstar, x = t, dist1 = T1pdist, dist2 = T2pdist, : function returns NA at 3.90625e-071.01927622979798e-087.7105723770202e-075.27096223871154e-087.28540377612885e-071.25230637383194e-076.56019362616806e-072.21329924168263e-075.59920075831737e-073.324709613353e-074.487790386647e-070.0001000016964206937.79553579306956...
2006 Mar 08
1
function gdist, dist and vegdist in mvpart
...beers + slope_dem + elev_dem+ plc_dem + pr_curv+ curv+max_depth+doc_rocks+ abandon+land_use+ca_old, data=ba12, xv="p") Error in model.frame(formula, rownames, variables, varnames, extras, extranames, : Variable lengths differ When computing the matrices directly... ba12.dist1 <- gdist (ba12[,18:29], method="maximum", full=T, sq=F) ba12.dist2 <- vegdist (ba12[,18:29], method="jaccard", diag=T, upper=T) ba12.dist3 <- dist (ba12[,18:29], method="minkowski", p=1, diag=T, upper=T) and looking at them, there appears to be no difference...
2006 Nov 30
3
newbie: new_data_frame <- selected set of rows
Hello, this is probably trivial but I failed to find this particular snippet of code. What I got: my_dataframe (contains say a 40k rows and 4 columns) distances (vector with euclidean distances between a query vector and each of the rows of my_dataframe) What I do: after scaling data my_dataframe I calculate distances. order them then extract top five hits my_dataframe <-
2001 Oct 22
2
OT: compare several graphs
Hi all, this is OT, but maybe someone can give me a clue. I've got data from eye tracker experiments (750 data points). These figures show how the data lock like |** * ***** |*** ****** | ** **** | * * | | * * | | * |-------------- |--------------- Y axes display velocity, x axes display time, * are the data points.
2013 Jun 22
1
metaMDS Error, Nan similar or negative values
...NaN 1.000000000 1.000000000 NaN :::: D3R1A NaN 1.000000000 1.000000000 1.000000000 1.000000000 1.000000000 NaN 1.000000000 1.000000000 NaN I searched all the details of metaMDS where it is suggested to avail the argument 'zerodist' So I tried both X.dist1 <- metaMDSdist(X, method="bray",zerodist = "ignore") X.dist2 <- metaMDSdist(X, method="bray",zerodist = "add") But for both the cases I still have those NaN values in some distances. I have read, one of the discussion says modify zero dissimilarities a...
2005 May 16
1
Interface Broadcast
...GP SIGNED MESSAGE----- Hash: SHA1 I''ve a problem on the broadcast it is adding some additional route to the router which caused me some problem... Below is my /etc/shorewall/interface swtmng1 eth0.1 202.73.10.127 norfc1918 apmng1 eth0.10 202.73.8.7 norfc1918 dist1 eth0.1000 202.73.11.255 norfc1918,nobogons idc1 eth2.50 202.73.10.255 norfc1918 net eth3 203.115.208.143 norfc1918,blacklist,nobogons dmz eth4.4000 202.73.10.63 norfc1918 loc eth5 dhcp,routeback,blacklist And This are the netconf...
2010 May 11
2
question about R
Hi, At each iteration in my program,I need to generate tree vectors,X1,X2,X3, from exponential distribution with parameters a1,a2,a3. Can you help me please how can I do it such that it take a little time? thank you khazaei
2004 Feb 23
2
plot(my.procrustes.model) from library {vegan}
Dear All, I would like to ask how to customize the graph corresponding to a procrustes analysis. I have to distance matrices, that I transform to two set of coordinates by means of muti dimensional scaling: library(mva) c1<-cmdscale(mat.dist1) c2<-cmdscale(mat.dist2) I vant to rotate c2 on c1, and I use the "procrustes" analysis from the {vegan} library. library(vegan) mod.pro<-procrustes(c1,c2) plot(mod.pro) My problem is that I need to change the graphical output of plot(mod.pro). The standard output gives empty...
2008 Jul 17
2
problems with validation on STI
...@rsc1 = resources(:rsc1) @d1 = RscDist.new @d1.simulation_id = @s1.id @d1.resource_id = @rsc1.id end and then the test: def test_params_exp @d1.desc = ''exponential'' assert !@d1.valid? @d1.param1 = 14 @d1.dist_name = ''dist1'' puts @d1.to_s assert @d1.valid? end The final line "assert @d1.valid?" fails, even though I have a :desc field that is properly spelled, a numerical :param1, and a unique :dist_name. The message is: 1) Failure: test_params_exp(DistributionTest) [test/unit/dist...
2010 Aug 24
0
mlm for within subject design
...warded Message Attachment-- From: pmilin at ff.uns.ac.rs To: r-help at stat.math.ethz.ch Date: Mon, 23 Aug 2010 21:33:19 +0200 Subject: [R] Coinertia randtest Hello! I dunno why, but I cannot make randtes.coinertia() from ade4 package working. I have two nice distance matrices (Euclidean): > dist1 1 2 3 4 5 6 7 2 2.5776799 3 1.7892825 1.0637487 4 1.0557991 2.4270728 2.0626604 5 1.6745483 4.1505805 3.4581614 1.8900295 6 2.5045058 0.8144662 0.7157900 2.6888306 4.1708413 7 4.1367323 1.6058153 2.6451634 3.7795019 5.6220092 2.15049...