Displaying 20 results from an estimated 24 matches for "st3".
Did you mean:
st
2010 Jun 28
3
data frame row statistics (mean)?
...mean value of each row in a data frame (d),
I am having troubles and getting errors using the code I have written.
Below is a brief example of the code, any thought or suggestions would
be great.
Thank you for your time,
Doug
# Example Code:
d <- data.frame(st1=c(1,2,3,4), st2=c(2,5,6,7), st3=c(5,5,NA,7),
st4=c(6,5,7,8))
avg <- rep(NA,length(d[,1]))
for (i in 1:length(d[,1])) {
avg[i] = mean(d[i,1:4], na.rm=TRUE)
}
# Final Output wanted.
st1 st2 st3 st4 avg
1 1 2 5 6 3.50
2 2 5 5 5 4.25
3 3 6 NA 7 5.33
4 4 7 7 8 6.50
--
-----------------...
2012 May 15
1
Error in eval(expr, envir, enclos) : object 'Rayos' not found???
...uadratEvent)
envir <- envir[!is.na(envir$Aeventexhumed), ]
envir$QuadratEvent <- paste(envir$QuadratID, envir$Aeventexhumed, sep="")
envir$QuadratEvent <- as.character(envir$QuadratEvent)
ExDate <- Sector <- Quadrat <- Aeventexhumed <- NULL
ST1 <- ST2 <- ST3 <- ST4 <- ST0 <- NULL
Shells <- Hatchlings <- MaxHatch <- DeadHatch <- NULL
Oldeggs <- TotalEggs <- QuadratEvent <- NULL
for (q in unique(as.character(resp$QuadratEvent))) {
s <- resp[as.character(resp$QuadratEvent) == q, ]
ExDate <- c(ExDate, a...
2004 Jul 23
4
shorewall 2.0.3a, (ULOG) doesn''t log anything
...from the outside.
I think I''ve followed all the steps on
http://shorewall.net/shorewall_logging.html :
1) I''ve installed ulog 0.97-1, and configured it so it logs on
/var/log/ulog.log
2) I''ve modified each appearance of "info" to "ULOG" in my config
st3:/etc/shorewall# grep ULOG *
policy:net all REJECT ULOG
policy:all all REJECT ULOG
shorewall.conf:LOGUNCLEAN=ULOG
What''s going on here?
btw, when I run "shorewall check" I got a msg telling me that it''s...
2005 Apr 13
1
barplot usage
Hi,
I?m trying to make a barplot with the following dataframe, with information on
relative frequency per sediment type (ST) for some species:
Species ST1 ST2 ST3
SP_A 10 60 30
...
At x-axis are (should be ...) the species names and at y-axis the frequency per
sediment, in stacked bars.
I tried to use barplot command but with no results. Could anyone help me on this?
Thanks in advance,
Samantha
-----------------------------------------------...
2012 May 21
1
select part of files from a list.files
...'ve created easy data.frames for the example, if someone could explain me
how I can do this easily (at least 2 non NA values for the 5 first lines for
example for these fake data.frames just here).
Thank you very much!
ST1 <- data.frame(a=1:10)
ST2 <- data.frame(b=c(NA,NA,NA,NA,NA,6:10))
ST3 <- data.frame(c=c(1,NA,NA,4:10))
ST4 <- data.frame(d=c(NA,NA,NA,NA,NA,NA,NA,NA,NA,NA))
ST5 <- data.frame(e=c(1,2,3,4,NA,NA,7:9,NA))
( in this example, the aim is to keep only in the list.files: ST1, ST3 and
ST5 because they all contains at least 2 non-NA values in the 5 first lines,
and s...
2012 May 02
2
Problem with 'nls' fitting logistic model (5PL)
...39;t get any results - just errors.
Here is an example calibration data, representative of my experiment.
Instrument soft had no problem fitting it:
x <- structure(list(SPL = structure(c(1L, 1L, 2L, 2L, 3L, 3L, 4L,
4L, 5L, 5L, 6L, 6L, 7L, 7L), .Label = c("St1", "St2", "St3",
"St4", "St5", "St6", "St7"), class = "factor"), MFI = c(10755.5,
9839, 5142.5, 4857, 1510.5, 1505, 502.5, 451, 215, 195.5, 58,
57, 15, 15), nom = c(206, 206, 125, 125, 68, 68, 38, 38, 24,
24, 13, 13, 6.5, 6.5), weights = c(0.0013946353028683,...
2012 May 12
1
masked by GlobalEnv ???
...an
> require(plyr)
Loading required package: plyr
> turtlehatch <- read.csv(file.choose())
> attach(turtlehatch)
The following object(s) are masked _by_ '.GlobalEnv':
Aeventexhumed, DeadHatch, ExDate, Hatchlings, MaxHatch, Oldeggs,
Quadrat,
QuadratEvent, ST0, ST1, ST2, ST3, ST4, Sector, Shells, TotalEggs
--
View this message in context: http://r.789695.n4.nabble.com/masked-by-GlobalEnv-tp4628664.html
Sent from the R help mailing list archive at Nabble.com.
2012 Oct 04
1
Error not found - for file retrieval with head()
...Jean
> devel.index <- function(values, weights=c(1, 2, 3, 4, 5, 6)) {
+ foo <- values*weights
+ return(apply(foo, 1, sum) / apply(values, 1, sum))
+ }
> data.to.analyze$DevelopIndex <-
> devel.index(data.to.analyze[,c("ST0","ST1", "ST2", "ST3", "ST4",
> "MaxHatch")])
> write.csv(data.to.analyze, "turtlehatch.csv", row.names=FALSE)
> head(turtlehatch.csv)
Error in head(turtlehatch.csv) : object 'turtlehatch.csv' not found
--
View this message in context: http://r.789695.n4.nabble.c...
2016 Sep 19
3
[arm, aarch64] Alignment checking in interleaved access pass
...i.vec, <12 x i32>* %ptr
Into:
%sub.v0 = shuffle <8 x i32> %v0, <8 x i32> v1, <0, 1, 2, 3>
%sub.v1 = shuffle <8 x i32> %v0, <8 x i32> v1, <4, 5, 6, 7>
%sub.v2 = shuffle <8 x i32> %v0, <8 x i32> v1, <8, 9, 10, 11>
call void llvm.aarch64.neon.st3(%sub.v0, %sub.v1, %sub.v2, %ptr)
The purpose of the above patch is to enable more general patterns such as
turning:
%i.vec = shuffle <32 x i32> %v0, <32 x i32> %v1,
<4, 32, 16, 5, 33, 17, 6, 34, 18, 7, 35, 19>
store <12 x i32> %i.vec, <12 x i32>* %ptr...
2007 Apr 23
0
Correction to PR #9631 (PR#9632)
...<- c(tmpFiles, linkPath)
}
}
st0 <- "option validvarname = v6;"
st1 <- paste("libname src2rd '", libname, "';\n", sep = "")
st2 <- paste("libname rd xport '", tmpXport, "';\n", sep = "")
st3 <- paste("proc copy in=src2rd out=rd;\n")
st4 <- paste("select", sectionnames, ";\n", sep = " ")
tmpProg <- paste(tmpProgLoc, ".sas", sep = "")
tmpProgLogBase <- logGuess(tmpProgLoc)
tmpProgLog <- paste(tmpProgLogBas...
2013 Nov 28
2
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
...0.s, v1.s}[3], [sp], x3
> -# CHECK: ld4 {v0.d, v1.d, v2.d, v3.d}[1], [x0], #24
> +# CHECK: ld4 {v0.d, v1.d, v2.d, v3.d}[1], [x0], #32
> +# CHECK: ld4 {v0.h, v1.h, v2.h, v3.h}[7], [x0], x0
> # CHECK: st1 {v0.d}[1], [x0], #8
> # CHECK: st2 {v31.s, v0.s}[3], [sp], #8
> # CHECK: st3 {v15.h, v16.h, v17.h}[7], [x15], #6
> @@ -2138,6 +2139,7 @@
> 0xef,0x59,0xff,0x4d
> 0xff,0xb3,0xc3,0x4d
> 0x00,0xa4,0xff,0x4d
> +0x00,0x78,0xe0,0x4d
> 0x00,0x84,0x9f,0x4d
> 0xff,0x93,0xbf,0x4d
> 0xef,0x79,0x9f,0x4d
>
2007 Aug 14
2
State Space Modelling
Hey all,
I am trying to work under a State Space form, but I didn't get the help
exactly.
Have anyone eles used this functions?
I was used to work with S-PLUS, but I have some codes I need to adpt.
Thanks alot,
Bernardo
[[alternative HTML version deleted]]
2013 Nov 28
0
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
...>> -# CHECK: ld4 {v0.d, v1.d, v2.d, v3.d}[1], [x0], #24
>> +# CHECK: ld4 {v0.d, v1.d, v2.d, v3.d}[1], [x0], #32
>> +# CHECK: ld4 {v0.h, v1.h, v2.h, v3.h}[7], [x0], x0
>> # CHECK: st1 {v0.d}[1], [x0], #8
>> # CHECK: st2 {v31.s, v0.s}[3], [sp], #8
>> # CHECK: st3 {v15.h, v16.h, v17.h}[7], [x15], #6
>> @@ -2138,6 +2139,7 @@
>> 0xef,0x59,0xff,0x4d
>> 0xff,0xb3,0xc3,0x4d
>> 0x00,0xa4,0xff,0x4d
>> +0x00,0x78,0xe0,0x4d
>> 0x00,0x84,0x9f,0x4d
>> 0xff,0x93,0xbf,0x4d
>> 0xef,0x79,0x9f,0x4d
>>
>
&g...
2013 Nov 28
1
[LLVMdev] [llvm] r195903 - AArch64: Fix a bug about disassembling post-index load single element to 4 vectors
...{v0.d, v1.d, v2.d, v3.d}[1], [x0], #24
>>> +# CHECK: ld4 {v0.d, v1.d, v2.d, v3.d}[1], [x0], #32
>>> +# CHECK: ld4 {v0.h, v1.h, v2.h, v3.h}[7], [x0], x0
>>> # CHECK: st1 {v0.d}[1], [x0], #8
>>> # CHECK: st2 {v31.s, v0.s}[3], [sp], #8
>>> # CHECK: st3 {v15.h, v16.h, v17.h}[7], [x15], #6
>>> @@ -2138,6 +2139,7 @@
>>> 0xef,0x59,0xff,0x4d
>>> 0xff,0xb3,0xc3,0x4d
>>> 0x00,0xa4,0xff,0x4d
>>> +0x00,0x78,0xe0,0x4d
>>> 0x00,0x84,0x9f,0x4d
>>> 0xff,0x93,0xbf,0x4d
>>>...
2007 Feb 25
1
[LLVMdev] X86RegisterInfo.td
...like this:
// Floating point stack registers (these are not allocatable by the
// register allocator - the floating point stackifier is responsible
// for transforming FPn allocations to STn registers)
def RST : RegisterClass<"X86", [f64], 32,
[ST0, ST1, ST2, ST3, ST4, ST5, ST6, ST7]> {
let MethodProtos = [{
iterator allocation_order_end(const MachineFunction &MF) const;
}];
let MethodBodies = [{
RSTClass::iterator
RSTClass::allocation_order_end(const MachineFunction &MF) const {
return begin();
}
}];
}
I...
2012 Oct 08
0
Best method for comparing rectangles sections of beach
...? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
5 observations deleted due to missingness
Warning message:
In model.matrix.default(mt, mf, contrasts) :
variable 'Aeventexhumed' converted to a factor
---------
> head(data.to.analyze)
QuadratEvent ExDate Sector Quadrat Aeventexhumed ST0 ST1 ST2 ST3
ST4 Shells
1 8.1A Nov. 26, 2010 14 8 A 6 0 1 98
1 72
2 10.1A Nov. 26, 2010 13 10 A 4 0 0 109
1 74
3 14.1A Nov. 18, 2010 20 14 A 6 0 2 26
11 106
4 19.1A Nov. 22, 2010...
2012 Dec 05
2
[RFC PATCH] drm/nouveau: report channel owner in error messages
...e(subdev);
+ struct nouveau_engine *engine = NULL;
struct nv50_fb_priv *priv = (void *)subdev;
const struct nouveau_enum *en, *cl;
+ struct nouveau_object *engctx = NULL;
+ const int *poss_engines = NULL;
+ const char *client_name = "unk";
u32 trap[6], idx, chan;
u8 st0, st1, st2, st3;
int i;
@@ -366,9 +388,34 @@ nv50_fb_intr(struct nouveau_subdev *subdev)
}
chan = (trap[2] << 16) | trap[1];
- nv_error(priv, "trapped %s at 0x%02x%04x%04x on channel 0x%08x ",
+ for (i = 0; i < ARRAY_SIZE(nvdev_engine_for_vm_engine); ++i) {
+ if (nvdev_engine_for_vm_eng...
2012 Feb 11
1
Wine release 1.4-rc3
...- Only black screen
22836 ITypeInfo_fnInvoke member ID -525 - HP Virtual Rooms 8.0
23423 Some graphics are corrupted in Civilization IV
23827 HTML-Kit crashes on exit
23912 dvdflick has an error on startup: "Object doesn't support this property or method"
24248 TREPCAD St3: some stair types give fatal errors
24288 SR3D Builder "will only install when DotNet2.0 is installed"
24659 The material Navigator reports a system failure and terminates the program
24791 Broken display in Might and Magic VII: For Blood and Honor
25615 Wine Internet Explorer...
2006 Jan 03
4
iax2 wireless and Multicast
...|_________| |____|<unicast-st2-\---<-|________|
\ \
\ |----------|
\--<unicast<|client-st3|
|_______|
Do I need an entire asterisk system on client stations to demultiplex and
extract the flow they need or merely a small version with protocol
libraries ??
Of course I will employ a pseudo TDM on AP like frottle and prio...
2012 Jan 25
6
How do I compare 47 GLM models with 1 to 5 interactions and unique combinations?
Hi R-listers,
I have developed 47 GLM models with different combinations of interactions
from 1 variable to 5 variables. I have manually made each model separately
and put them into individual tables (organized by the number of variables)
showing the AIC score. I want to compare all of these models.
1) What is the best way to compare various models with unique combinations
and different number