similar to: averaging rows based on string¿?

Displaying 20 results from an estimated 90 matches similar to: "averaging rows based on string¿?"

2011 Feb 15
11
Puppetmasterd not receiving certificate request
Hi: I''m trying to configure Puppet on Ubuntu, and strangely I am never able to generate a certificate because my server never shows any pending certificate requests. Put differently, on the server I am running puppetmasterd and on the client I am able to connect to the server, but the client continues printing notice: Did not receive certificate warning: peer certificate
2007 Oct 05
2
Apply vector of labels to columns of data frame
Dear list members I would like to apply a vector of labels v=c("lab1","lab2","lab3") to a dataframe df=data.frame(1:3,1:3,1:3) using some kind of loop or apply function. Any ideas? Thanks Steve Powell Checked by AVG Free Edition. 17:03 [[alternative HTML version deleted]]
2010 Apr 15
2
graphic question
Hello, I have a simple question that I could not really figure out. I am plotting labels within a graph using the text function. I first plot the first label by specifying the x and y coordinates on the graph. Then to plot the second label next to it, I am using te strwidth function to get the width of the previous label in user coordinate then add the maximum width to the x value. However, this
2005 Jan 27
3
How to generate labels or names?
Hi, I'm new to R and I would like to generate labels like data.frame does : "V1 V2 V3...". I'm trying to generate a N vector with label such as "Lab1 Lab2 ... LabN". I guess this is pretty easy when you know R ;) Thanks for help Eric
2009 May 09
1
Strip labels: use xyplot() to plot columns in parallel with outer=TRUE
The following tinkers with the strip labels, where the different panels are for different levelf of a conditioning factor. tau <- (0:5)/2.5; m <- length(tau); n <- 200; SD <- 2 x0 <- rnorm(n, mean=12.5, sd=SD) matdf <- data.frame( x = as.vector(sapply((0:5)/2.5, function(s)x0+rnorm(n, sd=2*s))), y <- rep(15+2.5*x0, m), taugp = factor(rep(tau, rep(n,m)))) names(matdf)
2018 Jul 31
1
Setting up a Share Using Windows ACLs_2
Well, Im new to this mailing list and for some reason cant find my post about topic that I started(when searching archive latest date is 13jan 2018) so cant reply to Rowland.So this is present situation and answers to Rowland questions: It was a mistake in smb.conf, I changed domain_name to TCIT, in user map: !root = TCIT\Administrator TCIT\administrator Members of Domain Admins are:
2007 Sep 23
2
Plotting numbers at a specified decimal length on a plot()
Hi there, I want to figure out how to plot means, with 2 decimal places, of any Y variable on a scatterplot according to any X variable (which obviously should have limited scope). I already figured out how to plot the means, but without limiting their precision to 2 decimal places. This is the code I used once I had the scatterplot drawn: text(c(1990, 1992, 1994, 1996, 1998, 1999, 2000,
2005 May 18
1
from list to dataframe
I was wondering if someone can help me figure out the following: I have two patient datasets, ds1 and ds2. ds1 has fields "patid", "date", and "lab1". ds2 has "patid", "date", and "lab2". I want to find all the patids that have at least 2 dated records for each lab. I started by splitting each dataset by patid, to create ds1.list
2010 May 22
1
How to find all single minima, i.e. only each one within each next part of analyzed vector (table)
Dear R users, How to find all single minima within each next part of analyzed vector (table) Select all minima (mass_value=min & mass_value<2) (many) in vector(table), BUT first put mask on table in order to select within one window mask (5 elements) only one local minimum, and next to search within the next time window mask the second minimum (only one local along second mask)
2006 Jan 24
2
Tunneling lock/hangs/unidirectional
I've setup a lab to test the new tunneling options in the latest openssh. Things work well... for a while... then the tunnel goes unidirectional. openssh-SNAP-20060122.tar.gz lab1 config: # uname -a FreeBSD lab1 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Jan 13 13:01:17 EST 2006 root@:/usr/src/sys/i386/compile/SMP i386 # cat /etc/sysctl.conf | egrep -v '(^#|^$)'
2007 May 26
1
lattice: aligning independent graphs
I find myself wanting to plot three graphs side by side 'as if' they were panels -- that is, with the same y-axis limits, no space between the graphs, and precise vertical alignment of the plot areas. However, I don't want strip titles; I want each graph to have its own x-axis label, on the bottom of the plot. The best way I have so far found to do this is to fake up a data frame that
2011 Jun 26
1
bwplot questions: box order, axis breaks, and multiple y-axis labels
Hi all, I used bwplot in lattice to create a 6-panel boxplot grouped by a conditioning variable (param) that displays concentration (conc) in response to treatment (trtmnt). Here is the functional part of my code followed by my three questions: library(lattice); ww<-read.csv(file="c:/Rdata/lattice_boxplot_prep.csv",header=TRUE,sep=","); attach(ww);
2007 Jul 27
1
exporting character vector to text files
R-help, I have a character vector whose elements are the names of matrixes. Something like this: > test <- ls(pattern="Oki") [1] "aaOki" "aOki" "bOki" "c1Oki" "c2Oki" "c3Oki" "cOki" "dOki" "eOki" "fOki" "gprsOki" "hOki"
2006 Nov 07
1
Better way to create tables of mean & standard deviations
Hi I'm trying to create tables of means, standard deviations and numbers of observations (i) for each laboratory (ii) for each batch number (iii) for each batch at each laboratory for the attached data. I created these functions: summary.aggregate <- function(y, label, ...) { temp.mean <- aggregate(y, FUN=mean, ...) temp.sd <- aggregate(y, FUN=sd, ...) temp.length <-
2005 Feb 16
2
problem with se.contrast()
I am having trouble getting standard errors for contrasts using se.contrast() in what appears to be a simple case to me. The following test example illustrates my problem: Lab <- factor(rep(c("1","2","3"),each=12)) Material <- factor(rep(c("A","B","C","D"),each=3,times=3)) Measurement <-
2006 Apr 25
8
Permissions for share
opensuse 10/find / samba-3.0.20b-3.3 I'm trying to change directory permissions on a share so all users can modify files in the share and when I do as suggested in Ch15 of Samba Howto the following happens $ find `directory_name' -type d -exec chown nobody:users {}\; find: missing argument to `-exec' Chris Boyd Systems Engineer USIT 19-21 Aston Quay Dublin 2 Ireland Tel: +353 1
2005 Mar 14
1
r: eviews and r // eigen analysis
hi all i have a question that about the eigen analysis found in R and in eviews. i used the same data set in the two packages and found different answers. which is incorrect? the data is: aa ( a correlation matrix) 1 0.9801 0.9801 0.9801 0.9801 0.9801 1 0.9801 0.9801 0.9801 0.9801 0.9801 1 0.9801 0.9801 0.9801 0.9801 0.9801 1 0.9801 0.9801 0.9801 0.9801 0.9801 1 now > svd(aa) $d [1] 4.9204
2004 Nov 10
0
glm.nb
Hi, I make some simulations with rnbinom and try to test with glm.nb. But in some data set the glm.nb fail. Look: pop <- rnbinom(n=1000,size=1,mu=0.05) > glm.nb(pop~1,maxit=1000) Error in while ((it <- it + 1) < limit && abs(del) > eps) { : missing value where TRUE/FALSE needed look some pop charactetistics: > summary(pop) Min. 1st Qu. Median Mean 3rd Qu.
2003 Mar 15
1
BUG: snprintf() with floating point numbers
Hello, I used the snprintf.{c,h} in rsync for my code, and found a bug in it: snprintf(s,16,"%f",0.025) results "0.250000". The problem is in snprintf.c, in fmtfp(), around line 732. I didn't try the solution (I do not need it anymore), but the zpadding number of '0'-s should be placed before fconvert. I am not in the list, so please cc the answer for the
2010 Oct 27
1
(no subject)
I am interested in using "multcompLetters" after running "kruskalmc" but I'm a newbie and I'm not having luck figuring it out. I can run "kruskalmc" just fine, but after studying the documentation for "multcompletters" for a long time, I cannot figure out how to make it work. Any ideas? R input is below > >> #here is my data set >>