Displaying 14 results from an estimated 14 matches for "rownumb".
Did you mean:
rownum
2009 Feb 19
2
Use of ifelse for indicating specific rownumber
Hello
I have a dataset named "b2" with 1521 rows, in that dataset i have 64 rows
containing specific information.
the rownumbers with specific info are:
+ i
[1] 22 53 104 127 151 196 235 238 249 250 263 335 344 353
362 370 389 422 458 459 473 492 502 530 561 624 647 651 666
671
[31] 715 784 791 807 813 823 830 841 862 865 1036 1051 1062 1068
1092 1109 1171 1187 1283 1293 1325...
2006 Sep 10
2
rownumber
...imported from the second row set.
105 2 2 2 2 1 2 17 16 26
106 2 2 2 2 2 2 16 14 29
107 2 2 2 2 2 2 10 13 29
I tried:
> a <- subset(lead.dat, rownumber==1)
Error in eval(expr, envir, enclos) : object "rownumber" not found
> b <- subset(lead.dat, rownumber==2)
Error in eval(expr, envir, enclos) : object "rownumber" not found
What is wrong with this?
thx much
[[alternative HTML version deleted]]
2012 Jun 15
0
argument "x" is missing, with no default - Please help find argument x
...ntrees = ntrees, ml.frame = ml.frame) :
task 2 failed - "argument "x" is missing, with no default"
as if it couldn't see the arguments.
Long segment of actual code below.
Thank you for your time and patience.
Ross
<code>
bottomloop<-function(i=i, mtry=mtry, rownumber=rownumber, ntrees=ntrees,
shuffled=shuffled) {
require(party)
require(epiR)
test<-rownumber[[i]]
train<-shuffled[shuffled!=test]
cv.train <- ml.frame[train,]
cv.evaluate <- ml.frame[test,]
cv.model <- cforest(as.factor(remitter)~., data=cv.train,
control=cforest_contr...
2012 Feb 13
1
only 0s may be mixed with negative subscripts
...67.1,
1328565067.15, 1328565067.2, 1328565067.25), Y = c(0.0963890795246276,
0.227296347215609, 0.240972698811569, 0.221208948983498, 0.230898231782485,
0.203282153087549), X = c(0.0245045248243853, 0.0835679411703579,
0.0612613120609633, 0.058568910563872, 0.0511868450318788, 0.0557714205674231
), rownumber = 1:6), .Names = c("Time", "Y", "X", "rownumber"
), row.names = c(NA, 6L), class = "data.frame")
> speedX <- sapply(sens2[sens2$rownumber %% 2 == 0,], function(row) { cumsum(c(sens2[row+1,3], sens2[row,3]))}, simplify=TRUE)
Error in xj[i] :...
2005 Sep 26
3
How to get the rowindices without using which?
...setosa
25 4.8 3.4 1.9 0.2
setosa
129 6.4 2.8 5.6 2.1
virginica
60 5.2 2.7 3.9 1.4
versicolor
80 5.7 2.6 3.5 1.0
versicolor
What I want to get are their rownumbers: 76, 105, 131,
79, 69, 42, 25, 129, 60, 80.
Thanks in advance,
Martin
2001 Oct 03
1
package GeneSOM ?
Hello Rprofessionals,
The SOM-Obj works very well, when i normalize
my data and the plot-function, too !
But i miss or didn't find the possibility , extract the
information from the SOMplot "clusterSize" and "mean" for every cluster as quantitative information ( i.e. the DataFrame with an additional column which
define the calculate clusters from SOM)?
My intention -
2003 Sep 02
1
package xtable
Hi,
How can I avoid xtable of printing rownumbers when exporting a
data.frame ?
Are there more packages that deal with LaTeX besides xtable and Sweave ?
Thanks
EJ
2008 Aug 11
2
sampling
Hello,
I have a matrix and I want to sample 20 rows that are the the percentiles of
0-100 in 0.05 increments. I have a vector of my sequence
(0, 0.05, 0.10, 0.15,....1.0) and also
a normalised vector of rownumbers. That is, there are 234 rows (for
example) so I do
perc<-c(1:234/234)
which looks like a bunch of numbers from 0 - 1.
In Excel (which I try not to use at every possible occaison) you can use a
VLOOKUP function to say choose the rows from the perc vector that are the
closest match to the s...
2011 Jun 14
1
color specific(!) lines in different color with in parcoord plots
...e goal: seperate objects according to their (row- or even column-)position.
I tried something like
library(MASS)
parcoord(table[,c(1,2)], col = c("green", "yellow"))
but as I figure out, the colors of the lines/points plotted, alternate, meaning all points referring to uneven rownumbers are colord in green and respectivley all even rownumbers in yellow. Same with three or more colors; it just continously goes through the vector of colors, right?
Acoordingly, my questions concerns on how the plot function uses col and if there is any way to "manipulate".
I looked up t...
2005 Jul 13
1
help: how to plot a circle on the scatter plot
...ain the corresponding correlation matrix (x)
for this scatterplot.
Second, use "seq(along = x)[x > 0.9]" to find the positions of the
small pictures with 0.9 correlation, but "seq" can just find the
sequence position row by row for the matrix, not a real position (like
"rowNumber, colNumber"). Is any function for that?
Third, use "Symbols" to plot the circle on these small pictures, but
seems it can't do that. Also, I don't know how to adjust the thickness
and radius of the circle plotted by "Symbols".
Please give me some ideas!
Thank y...
2009 Oct 12
0
combining/overlaying boxplot and barplot
...umbers from the barplot in to account).
Thanks for the help!
Ivan Soenario
KNMI
Royal Netherlands Meteorological Institute
ps
dcpn: data.frame containing raingauge data for 310 stations (columns)
for 1991-2006 (each day is a row)
dcp0: calculation of % 0mm, based on dcpn.
monthindex: array with rownumbers, in this case representing month May
in 2004 (so length(monthindex) is 31)
ps 2
I cheated with percentage, I multiplied the fraction (number of
0mm)/(total number raingauges) with 30, to make it fit with the
boxplot's ylim of 30. It seldomly rains more than 30mm in 24hours.
To overcome this...
2012 Jun 14
0
Complex summary of counts of rank positions over multiple dataframes
Hi,
I've kind of a tricky question, which I don't know how to solve yet:
I get multiple dataframes loaded (readRDS) in a loop function. Each loaded dataframe contains two columns one with a var-name and one with a value. The rownumber (order) is very important as it is a value of the rank (1:x).
A example with a similar looped structure:
df1 <- data.frame(var=c("A","B","C","D"),value=c(12,5,4,2))
df2 <- data.frame(var=c("B","A","G","C",&quo...
2008 Jul 15
0
creating axis of the plot before data are plotted -- solved
...the x-axis) with such a rowname.
>>
>> row number <-> row name
>> 1:nrow(matrix) <-> rowname(matrix[1]) .. rowname(matrix[nrow(matrix)])
>>
>>
>> I try to rephrase my question: how do you plot a curve into a plot when
>> the x-axis isn't the rownumbers, but each row is a real x-value (e.g.
>> 35.23)?
>>
>>
>> p.s. there is a mistake in my original (first) email. Instead "at=NULL"
>> should be "at=Labels" (otherwise there is an error message). Sorry for
>> confusion.
>>
>>
>...
2010 Jun 06
1
I need help in analyzing
I'm sory for my weak english. I need to analyze this subject :
x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 y
0 0 1 0 0 1 0 0 1 0 czarne
1 1 0 0 0 0 1 0 0 0 rude
0 0 1 0 0 1 1 0 0 0 braz
0 0 1 0 1 0 1 0 0 0 blond
1 0 0 0 0 1 0 0 0 1 rude
1 1 0 0 0 0 0 0 0 1 blond
0 0 1 1 0 0 0 0 1 0 czarne
1 0 0 1 0 0 1 0 0 0 blond
0 0 1 0 0 1 1 0 0 0 blond
1 0 0 0 0 1 1 0 0 0 czarne
0 0 1 0 0 1 0 0 0 1 czarne
1 0 1 0 0 0