similar to: How to represent certain values in a file as we want?

Displaying 20 results from an estimated 1000 matches similar to: "How to represent certain values in a file as we want?"

2023 Nov 15
1
Cannot calculate confidence intervals NULL
I believe the problem is here: cor1 <- cor(x1, y1, method="spearman") cor2 <- cor(x2, y2, method="spearman") The x's and y's are not looked for in data (i.e. NSE) but in the environment where the function was defined, which is standard evaluation. Change the above to: cor1 <- with(d, cor(x1, y1, method="spearman")) cor2 <- with(d, cor(x2, y2,
2008 Aug 04
1
simulate data based on partial correlation matrix
Given four known and fixed vectors, x1,x2,x3,x4, I am trying to generate a fifth vector,z, with specified known and fixed partial correlations. How can I do this? In the past I have used the following (thanks to Greg Snow) to generate a fifth vector based on zero order correlations---however I'd like to modify it so that it can generate a fifth vector with specific partial
2023 Nov 15
2
Cannot calculate confidence intervals NULL
R-Experts, Here below my R code working without error message but I don't get the results I am expecting. Here is the result I get: [1] "All values of t are equal to 0.28611928397257 \n Cannot calculate confidence intervals" NULL If someone knows how to solve my problem, really appreciate. Best, S ######################################################### # Difference in Spearman
2010 Sep 30
2
panel.pairs in splom
Hello, I have a customized pairs () fonction as follows that displays correctely my data. ------------------------------------------------------------------------ panel.cor1 <- function (x, y, digits=2, prefix="") { usr <- par("usr"); on.exit(par(usr)) par(usr = c(0, 1, 0, 1)) r <- cor(x, y,use="pairwise.complete.obs",
2009 Nov 16
1
extracting values from correlation matrix
Hi! All, I have 2 correlation matrices of 4000x4000 both with same row names and column names say cor1 and cor2. I have extracted some information from 1st matrix cor1 which is something like this: rowname colname cor1_value a b 0.8 b a 0.8 c f 0.62 d k 0.59 - - -- -
2000 Mar 28
1
loess.smooth dumps core
Has the loess.smooth() function changed? It used to work, but now it causes R to abort with a segmentation fault. I stole the function points.lines() from V&R 1st ed. pp. 67--68, but now it only works if I remove the line with loess.smooth. Here's the function I'm using: points.lines <- function(x, y, ...) { cor1 <-round(cor(x, y, use="pairwise"), digits=2)
2010 May 03
1
Comparing the correlations coefficient of two (very) dependent samples
Hello all, I believe this can be done using bootstrap, but I am wondering if there is some other way that might be used to tackle this. #Let's say I have two pairs of samples: set.seed(100) s1 <- rnorm(100) s2 <- s1 + rnorm(100) x1 <- s1[1:99] y1 <- s2[1:99] x2 <- x1 y2 <- s2[2:100] #And both yield the following two correlations: cor(x1,y1) # 0.7568969 (cor1) cor(x2,y2)
2009 Mar 03
13
xm migrate headache
Hi, I am trying to (live-)migrate a paravirtualized machine from hosta to hostb: -----8<---- hosta:~ # xm list pvm Name ID Mem VCPUs State Time(s) pvm 64 384 1 -b---- 0.5 hostb:~ # xm list pvm Error: Domain ''pvm'' does not exist. hosta:~ # xm migrate pvm 192.168.0.2 Error:
2006 Aug 11
1
rpvm/snow packages on a cluster with dual-processor machines
Hi, does anybody know how to use the dual processors in the machines of a cluster? I am using R with rpvm and snow packages. I usually start pvm daemon and add host machines first, and then run R to start my computing work. But I find that only one processor in each machine is used in this way and the other one always stays idle. Is there any simple way to tell pvm to use the two processors at
2006 Aug 11
2
rpvm/snow packages on a cluster with dual-processor machi nes
Caveat: I've only played with this a couple of years ago... I believe you can just add each host _twice_ (or as many times as the number of CPUs at that host) to get both CPUs to work. Andy From: Paul Y. Peng > > Hi, > > does anybody know how to use the dual processors in the > machines of a cluster? I am using R with rpvm and snow > packages. I usually start pvm
2013 Jan 15
1
rpvm arch check
I've trying to fix the check error in rpvm package. Right now on my Mac, I use darwinport to install PVM and I can get rpvm to pass the check using 'R -arch x86_64 CMD check'. However the default 'R CMD check' uses i386 which fails since PVM is built for x86_64 only. So is there a way to ensure proper architecture is used that matches that of the external library like PVM?
2009 Dec 23
1
Help with makeClusters for Snow
Hi Everybody, I know that R has snow package which can be used for Parallel Computing. However, every time I try making a cluster, the only type of cluster I'm able to make is the "SOCK" (that too because I disabled the firewalls). For the rest (i.e. MPI, NWS, and PVM), I get error every time I try making one. I get the following errors
2012 Jun 07
1
network is only connected for a while when the domU is started
Hi ALL, Here is a weird problem comfusing me for a long time. i''v installed xen 4.0.1 with linux kernel 3.1.0-rc9+ Everything works fine except i cannot ping to the gateway in a PVM domU. i''v installed bridge-utils and brctl show like this bridge name bridge id STP enabled interfaces eth0 8000.00219b480d56 no
2011 Dec 12
1
(no subject)
Hi all, I'm trying to get the snow package with mpi working on my linux ubuntu 10.04 machine. When I tried to install it (see below) it already had problems with the dependencies. R version 2.14.0 (2011-10-31) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You
2007 Apr 06
1
Re: RHEL5 as PVM on RHEL5 xen
Thanks you all guys. I am able to create the RHEL5 PVM on RHEL5 host successfully. Only thing that i need to add is /mnt/etc/fstab in inintrd command and preload to both the fronthend drivers. As blow. # mount /home/disk /mnt # mkinirtd /boot//boot/initrd-2.6.18-8.el5xenU.img 2.6.18-8.el5xen --fstab /mnt/ etc/fstab --with xenblk --with xennet --preload xenblk --preload xennet Thanks a lot,
2009 Jan 29
8
Help on setting up a PVM
I''m going to set up a PVM on xen-3.3.1 debian-amd64. I need advices about the best methods to install a fresh debian on it (i.e. how to choose the kernel for pvm) . I''ve installed xen from sources and only have one xen kernel in /boot which I''m using for dom0; should I use the same kernel for domUs? There is any problem on use vcpus=2; the other vm is an hvm running
2010 Aug 25
1
SEM : Warning : Could not compute QR decomposition of Hessian
Hi useRs, I'm trying for the first time to use a sem. The model finally runs, but gives a warning saying : "In sem.default(ram = ram, S = S, N = N, param.names = pars, var.names = vars, : Could not compute QR decomposition of Hessian. Optimization probably did not converge. " I found in R-help some posts on this warning, but my attemps to modify the code didn't change
2005 Apr 07
1
build rpvm under cygwin
I tried ot build rpvm in my own makefile. But runs into some linker errors like e.g. undefined reference to `_R_alloc' My enviornment looks like this: CYGWIN pvm 3.4 compiled under cygwin myself R installed from the rw2001.exe setup file. I guess that the R under rw2001.exe was build with some other compiler? I then tried to compile R myself under CYGWIN but runs into the following
2009 Aug 28
1
How to create a windows vm with ganeti2.
Hi ! I''m tryng to install a windows instance to a ganeti cluster. For the moment, i have configured ganeti2, i have created a debian instance with debootstrap OS, i have created a windows instance with xen commands, with a HVM processor. I have already initialize too my cluster with HVM and PVM option. However, i can''t create a windows vm with ganeti2. my command is:
2007 Nov 07
1
PVM error message
Hello R enthusiasts, I am working with a Fedora Core 6 OS and R 2.5. I have just finished loading PVM on my test cluster and this is working properly. Also, rpvm has been loaded in R. However, when I try to load my test program, I receive this error: Loading required package: rpvm Error in dyn.load(x, as.logical(local), as.logical(now)) ; unable to load shared library