Displaying 4 results from an estimated 4 matches for "mlell08".
2012 Jun 30
3
Accessing named members of a list in an array
Dear List,
I've created a two-dimensional array which shall contain a value and its
error, respectively.
These two values are concatenated in al list and bear the names "sl" and
"sl_err"
But I can't adress them using the $-notation.
a<- array(list(NULL),dim=c(2,2))
a[[1,1]]<- c(a=2,b=3)
a[[1,1]]$a
## Fehler in a[[1, 1]]$a : $ operator is invalid for atomic
2013 Jan 28
1
Setting inline hook to a function identical to default in knitr turns of exponential formatting
Hello List,
while dealing with a questin of 'xiaodao' (
http://r.789695.n4.nabble.com/Problem-with-large-small-numbers-in-knitr-tp4653986.html)
I noticed that copying the default inline hook function obtained by
knit_hooks$get("inline")
into a knit_hook$set(inline = <...>) call turns off exponential
fomatting in the resulting .tex file.
I used a stripped version of
2012 Jul 10
0
R-help Digest, Vol 113, Issue 13
...x-axis values displayed on histogram (jlwoodard)
> 79. Re: R code help to change table format (Rui Barradas)
> 80. Re: Need HELP: how find and use a csv file?
> (R. Michael Weylandt<michael.weylandt at gmail.com>)
> 81. Re: Need HELP: how find and use a csv file? (mlell08)
> 82. Re: Mann-Whitney by group (Oxenstierna)
> 83. Download large file from https url with progress meter
> (Gregory Jefferis)
> 84. -1.1 - 0.1 + 1.2 is NOT null! Why? (ollestrat)
> 85. Re: estimation of NA by predict command (eliza botto)
> 86. Re: -1.1 -...
2012 Mar 25
2
avoiding for loops
I have data that looks like this:
> df1
group id
1 red A
2 red B
3 red C
4 blue D
5 blue E
6 blue F
I want a list of the groups containing vectors with the ids. I am
avoiding subset(), as it is
only recommended for interactive use. Here's what I have so far:
df1 <- data.frame(group=c("red", "red", "red", "blue",