Displaying 3 results from an estimated 3 matches for "deleterow".
Did you mean:
deleterows
2008 Jun 15
3
Delete Block of Rows
...say my data frame has 200 rows and I want to delete rows 1
through 25. How would I do this?
I know x[ -1, ] deletes the first row (or any desired row). I tried using
different variations of this, like x[ -c(1:25), ] but that didn't work. I
also tried writting a few functions, for example:
deleteRows <- function( data, s, e, ) {
for( i in s:e )
data[ -i, ]
}
deleteRows( ds, 1, 25 )
But that didn't work either, it only deleted row 25 (i'm new to writing
functions).
Any thoughts on how to solve my problem would be appreciated.
--
View this message in context: http://www.nabble.com/D...
2007 Jun 26
1
A really simple data manipulation example
...is a dataset with one row per patient, with demographic data.
It has columns: PATIENT_ID, GENDER.
Here's a simple example, the following paragraph of code is a
data processing function (dpf) :
inlist LABRESULTS DEMO ;
mergeby PATIENT_ID ;
if (SODIUM == -9) SODIUM = NULL ;
if (VISIT_NUM != 2) deleterow ;
select AVERAGE_SODIUM = avg(SODIUM) by GENDER ;
sendoff(RESULTS_DATASET) GENDER AVERAGE_SODIUM ;
turnoff; // just means end-of-paragraph , version 1.0 won't need this.
Can you guess what it does? The lab result rows are merged with the
demographic rows, just to get the gender informatio...
2014 Aug 22
0
Wine release 1.7.25
...nbo Li (15):
mshtml: Added IHTMLStyle::textIndent property implementation.
mshtml: Added IHTMLStyleElement::lineHeight property.
mshtml: Added IHTMLStyle::listStylePosition property implementation.
mshtml/tests: Fix test_tr_modify().
mshtml: Added IHTMLTable::insertRow/deleteRow methods implementation.
mshtml: Added IHTMLTable::frame property implementation.
mshtml: Added IHTMLTableCell::align property implementation.
mshtml: Added IHTMLImgElement::isMap property implementation.
mshtml: Added IHTMLInputElement::size property implementation.
ms...