Displaying 6 results from an estimated 6 matches for "band2".
Did you mean:
band
2011 Aug 26
1
matrix bands
...j = seq(1,max.dx))
ij <- ij[1 <= ij[,1] & ij[,1] <= dx[1] & 1 <= ij[,2] & ij[,2] <=
dx[2],,drop=FALSE]
if(nrow(ij) == 0)
stop('cannot replace this matrix band')
x[ij] <- value
x
}
## simple, clear formulation - not very efficient
band2 <- function(x, n = 0) {
x[col(x) - row(x) == as.integer(n)]
}
'band2<-' <- function(x, n = 0, value) {
x[which(col(x) - row(x) == as.integer(n))] <- value
x
}
## here are some examples to show that it works
## define a test matrix
> A <- matrix(rnorm(12),3,4)...
2008 Jan 23
7
[PATCH 0/2] dm-band: The I/O bandwidth controller: Overview
...-|---+
+--V----+---V---+----V---+ +--V----+---V---+----V---+
| group | group | default| | group | group | default| band groups
| | | group | | | | group |
+-------+-------+--------+ +-------+-------+--------+
| band1 | | band2 | band devices
+-----------|------------+ +-----------|------------+
+-----------V--------------+-------------V------------+
| | |
| sdb1 | sdb2 | physical devices
+---------------------...
2008 Jan 23
7
[PATCH 0/2] dm-band: The I/O bandwidth controller: Overview
...-|---+
+--V----+---V---+----V---+ +--V----+---V---+----V---+
| group | group | default| | group | group | default| band groups
| | | group | | | | group |
+-------+-------+--------+ +-------+-------+--------+
| band1 | | band2 | band devices
+-----------|------------+ +-----------|------------+
+-----------V--------------+-------------V------------+
| | |
| sdb1 | sdb2 | physical devices
+---------------------...
2005 Mar 09
1
Aid with 3-D scatterplots
...an assignment on
classification). To aid me, I want to create a 3-D scatterplot using
the "cloud" command. Due to my ignorance of the finer plotting
functions, I am unable to display the scale on the three axes or to
display the grid.
My dataframe (RS) contains four columns: Class, band2, band3, band4.
Class is the classification variable (vegetation, water, soil, etc.)
The basic code I used was:
cloud(band4~band2*band3,RS,xlab="TM Band 2",ylab="TM Band 3",zlab="TM
Band 4",group=RS$Class).
Unfortunately, I'm unsure which arguments to use and h...
2006 Apr 25
6
Searching over multiple MySQL tables
I am racking my brain over this, probably because I only know very
simple mysql functions.
Basically I''ve got a few tables, ex:
Albums (id,name,band_id); Bands (id,name,label_id), and Label (id,name)
I want to search through both album.name, band.name, and label.name
throwing all results into a variable, with no redundant info.
I think what I need to be doing is setting up some
2007 Apr 09
1
Could not fit correct values in discriminant analysis by bruto.
...stat.math.ethz.ch
Subject: [R] Could not fit correct values in discriminant analysis by
bruto.
Dear R-users,
I would like to use "bruto" function in mda package for flexible
discriminant analysis.
Then, I tried, for example, following approach.
> x
band1 band2 band3
1 -1.206780 -1.448007 -1.084431
2 -0.294938 -0.113222 -0.888895
3 -0.267303 -0.241567 -1.040979
4 -1.206780 -1.448007 -1.040979
5 -1.151518 -0.806286 -0.671630
6 -1.179146 -1.396670 -1.453775
7 -0.294938...