Displaying 13 results from an estimated 13 matches for "vorstra".
2010 Jan 01
2
changing a list element's name during execution in lapply - possible?
...lculation.
Is it possible to do the renaming somehow within the lapply call?
l <- list(a=NA, b=NA)
lapply(l, function(x) {names(x) <- "new name"; return(x) })
This does not work, any ideas?
TIA
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2009 Dec 02
2
Reordering the results from table(cut()) by break argument
...also be reversed, like:
( 3, 2] ( 2, 1] ( 1,0] (0,-1] (-1,-2] (-2,-3]
0 12 30 42 13 3
Thus I would like to reorder the vector using break, but I do not know
how.
TIA
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2010 Jan 08
1
how to flatten a list to the same level?
...2 3
$B
[1] "a" "b"
$A
[1] 1 2 3
$B
[1] "a" "b"
$A
[1] 1 2 3
$B
[1] "a" "b"
$A
[1] 1 2 3
$B
[1] "a" "b"
Any ideas?
TIA!
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2009 Dec 27
1
gWidgets / RGtk2 - how to change a handler from a toolbar?
...;, icon="open", handler=defHandler)
tblList = list( test = aTest )
toolBar = gtoolbar(tblList, cont=w)
At this point I would like to change the handler from the aTest object.
Does someone know?
TIA
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2010 Mar 11
1
modifying the dots argument - how?
.... structure somehow, e.g. delete elements?
foo <- function(...){
innerFoo <- function(...){
}
AT THIS POINT I WANT TO MODIFY THE CONTENT OF ... BEFORE IT IS PASSED
ON
innerFoo(...)
}
Thanks,
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2009 Dec 27
2
RGtk2 / gWidgets - addHandlerClicked Problem
...cat("addhandlerclicked button\n")
svalue(tbl, index=T) <- 1 # change the table value
})
addhandlerclicked(tbl, handler=function(h, ...){
cat("addhandlerclicked table\n")
})
Thanks!
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2009 Dec 22
1
RGtk2 - retrieve ggraphics mouse coordinates during drag-and-drop event
...motion(g, handler=function(h, ...) {
print("motion")
})
adddroptarget(g, targetType="object", handler = defHandlerTarget, g)
defHandlerTarget = function(h, ...){
print(h$dropdata)
}
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2010 Feb 14
3
evaluate variable within expression - how?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100214/4b41a017/attachment.pl>
2011 May 19
0
Flattening lists and environments (was: "how to flatten a list to the same level?")
...>>
> >> Any ideas?
> >> TIA!
> >>
> >> Mark
> >>
> >>
> >> ------------------------------------------------------------------------------
> >> Mark Heckmann
> >> Dipl. Wirt.-Ing. cand. Psych.
> >> Vorstra?e 93 B01
> >> 28359 Bremen
> >> Blog:www.markheckmann.de
> >> R-Blog:http://ryouready.wordpress.com
> >>
> >> ______________________________________________
> >> R-help_at_r-project.org mailing list
> >> https://stat.ethz.ch/mailm...
2010 Jan 21
0
sp package - How to join two or more polygons from a SpatialPolygonsDataFrames
...lot Germany with random colors
col = rainbow(length(levels(gadm$NAME_3)))
spplot(gadm, "NAME_3", col.regions=col, main="German Regions",
colorkey = FALSE, lwd=.4, col="white")
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2009 Oct 28
1
write to RTF format - possible?
Hi everybody,
To write a .txt file I use write.table()
Is there a way to write to a .rtf file as well?
TIA
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2010 Aug 13
1
RDCOMClient interface - problems setting a variable
...veWindow.Selection.ShapeRange.Adjustments.Item(1) = 2
Here getting and setting is done by appointing a value or not.
I have no clue how to use the setter via R. Can anyone help?
A lot of thanks in advance!!
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com
2010 Oct 30
1
overloading "[" and "[<-" using S3 classes
....
For S4 it is straightforward:
setMethod("[", signature(x = "myClass", i = "numeric"),
function (x, i, j, ..., drop){
... some operations
})
How to do the same for S3?
TIA!
Mark
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http://ryouready.wordpress.com