Displaying 7 results from an estimated 7 matches for "_mean_".
Did you mean:
_mean
2010 Feb 01
1
Isolating a column within a loop
Dear all,
I am trying to calculate the mean of one column for many data frames. The code I am using is as follows:
> for (i in seq(nrow(index))) {
??? ??? assign(paste(model, "_mean_",index$year[i], index$month[i], sep=''),
????????????? mean(get(paste(model, index$year[i], index$month[i], "[,3]", sep=''))))
???????? }
Error in get(paste(model, index$year[i], index$month[i], "[,3]", sep = "")) :
? object 'cccma207101[,3]&...
2005 Jun 28
1
Ongoing Samba Errors
..._close(271) Invalid key 267 given to dptr_close : 26
Time(s)
smbd/dir.c:dptr_close(271) Invalid key 268 given to dptr_close : 26
Time(s)
smbd/dir.c:dptr_close(271) Invalid key 269 given to dptr_close : 26
Time(s)
smbd/dir.c:dptr_close(271) Invalid key 270 given to dptr_close : 26
Time(s)
And I _mean_ a whole load of them - this is just a quick extract
And then finally I see a swag of:
smbd/service.c:make_connection(794) pc001 (192.168.0.201) couldn't find
service : 2676 Time(s)
smbd/service.c:make_connection(794) pc002 (192.168.0.202) couldn't find
service : 11011 Time(s)
smbd/ser...
2011 Aug 09
7
Disk IDs and DD
Hiya,
Is there any reason (and anything to worry about) if disk target IDs don''t start at 0 (zero). For some reason mine are like this (3 controllers - 1 onboard and 2 PCIe);
AVAILABLE DISK SELECTIONS:
0. c8t0d0 <ATA -ST9160314AS -SDM1 cyl 19454 alt 2 hd 255 sec 63>
/pci at 0,0/pci10de,cb84 at 5/disk at 0,0
1. c8t1d0 <ATA -ST9160314AS -SDM1
2008 Oct 06
1
Need to calculate within- and between- run CV
Dear R-helpers,
I have a dataset named "qu", organized as follows:
Sample Run Replicate Value
1 1 1 25
1 1 2 40
1 1 3 33
1 1 4 29
1 2 1 37
1 2 2 44
1 2 3 45
1 3 1 25
1 3 2 40
1 4 1 33
1 4 2 29
1 4 3 25
2 ...
Basically, a sample was run on an assay multiple times within a single
day. Each of these results is "Replicate". Then run was repeated several
times in
2017 Jul 12
1
metRology package
I'm having trouble with a simple application with metRology. I need to
estimate the uncertainty of the density thickness of seven sheets of film.
This is calculated from measurements of mass, length and width of
rectangular samples of film.
It's not too hard to calculate the whole thing with a little Monte Carlo
loop. I get about 0.07 with this:
#sample area
2012 Apr 26
2
Lambert (1992) simulation
Hi,
I am trying to replicate Lambert (1992)'s simulation with zero-inflated
Poisson models. The citation is here:
@article{lambert1992zero,
Author = {Lambert, D.},
Journal = {Technometrics},
Pages = {1--14},
Publisher = {JSTOR},
Title = {Zero-inflated {P}oisson regression, with an application to defects
in manufacturing},
Year = {1992}}
Specifically I am trying to recreate Table 2. But my
2017 Oct 05
1
dealing with a messy dataset
dear Jim,
Yes I fixed the problem. Thanks again all of you for your contribution!
This worked :
start <- c(1, 20, 35, 41, 44, 48, 53, 59, 64, 70, 76, 78, 83, 88,
+ 93, 114, 122, 127)
data1<-read_fwf("lvg_table2.txt",skip=70, fwf_widths(diff(start)))
Well now I know how to deal with fixed-width files :)
Cheers
Jean-Philippe
On 05/10/2017 18:42, jim