Displaying 6 results from an estimated 6 matches for "malandro".
Did you mean:
calandra
2006 Feb 02
2
Titles in plots generated within tapply
How would one go about putting titles in each of several plots
that are generated from within a call to tapply? For example I'd
like the following two barplots to have titles 'Group 1' and
'Group 2', where '1' and '2' come from the levels of 'group'.
group <- gl(2, 10)
result <- sample(c('A', 'B'), size=length(group),
2000 Mar 29
2
R programming style
Hi R fans,
I was trying to write some code in R when I realized that I was just writing
a FORTRAN 77 style program in the R syntax, and hence coming nowhere near
tapping the potential of R. I'm wondering what is a good reference that
would help me get up to speed in programming in R (i.e., using these
classes, methods, objects, accessor functions, and many other things I don't
2002 Jan 18
2
Replacing data.frame values
Hello,
I have two data frames, NameAndConc.df and
WhichOnes.df. NameAndConc.df has two columns, the
first column is the names of some material, and the
second column is the concentration of active
ingredient.
> NameAndConc.df
name conc
1 material1 0.8
2 material2 0.5
3 material3 0.4
WhichOnes.df has two columns, each of which specifies
which material.
> WhichOnes.df
2002 Apr 08
1
factor labels in model.frame
Hello,
model.frame changes the factor labels when na.action =
na.omit.
> f <- gl(3, 2, 6, paste('m', 1:3, sep = ''))
> r <- c(NA, NA, 3:6)
> mf <- model.frame(~ r + f, na.action = na.omit)
> mf
r f
3 3 m1
4 4 m1
5 5 m2
6 6 m2
But it seems like it should be this
> mf
r f
3 3 m2
4 4 m2
5 5 m3
6 6 m3
intead.
How do I get the second mf?
Thanks a lot,
2001 Nov 29
2
text in qqmath
Hello,
I can't seem to make qqmath plot text.
v <- rnorm(8)
qqmath(~v) # this is ok, but
qqmath(~v, panel=function(x, y) {
points(x, y)
text(0, 0, 'print me', cex=2)})
isn't ok.
The axis frame is printed properly (ie, as in
qqmath(~v)), but neither 'print me' nor the points
show up on the graph. I can, however, see the upper
half of the word 'me' in the
2002 Mar 15
0
variance components in lme
Hello,
I'd tried to estimate the variance components for the
following data set, where lab and run %in% lab are
random effects, and vol is the response.
lab run vol
37 2 1 0.6800000
38 2 1 0.6300000
39 2 1 0.6600000
40 2 1 0.7600000
41 2 1 0.6800000
42 2 1 0.6100000
67 2 2 0.2940494
68 2 2 0.2943254
69 2 2 0.3339296
70 2 2 0.2439775
71 2 2