Displaying 7 results from an estimated 7 matches for "latticeparseformula".
2003 Mar 04
3
question on latticeParseFormula (PR#2602)
This feels like inconsistent behavior. latticeParseFormula works the
way I anticipated for factor, but not for ordered. I want the
behavior I see with tmp2, but not with tmp. My next step is to use
the right.name to isolate the tmp2[,c("a","b")] columns.
tmp <- data.frame(y=(1:12)+.1,
a=factor(rep(1:3,4)),...
2007 Apr 20
1
xyplot: Combining 'subscripts' and 'allow.multiple=T'
...uot;) : argument "subscripts" is missing, with no default
Does anyone know how to obtain this??
By the way: The doc on xyplot says: "The value of subscripts becomes slightly more complicated when allow.multiple is in effect. Details can be found in the source code of the function latticeParseFormula.". Sure.
Best regards
Søren
[[alternative HTML version deleted]]
2003 Apr 11
1
lattice bug? (PR#2765)
...in 1:ncol(x) : NA/NaN argument
I traced this to the line in the splom function:
for (j in 1:ncol(x)) id.na <- id.na | is.na(x[, j])
but the root of the problem actually seems to be earlier, when
latticParseFormula is called.
form <- if (inherits(formula, "formula"))
latticeParseFormula(formula, data)
x <- as.data.frame(form$right)
This seems not to work properly if data=parent.frame(). Should it?
Apologies if this is something known, or if I'm doing something wrong!
I'm using R 1.6.2 under Windows 2000 Pro and lattice Version: 0.7-1 Date:
2003/03/15.
Thanks,
Da...
2011 Jul 22
1
3d plotting with cloud and wireframe
...time<-TxDBH[,1]
dbh<-TxDBH[,2]
M <- 4000*(1-exp(-time*(1.104-(0.67*0.7)-0.163*log(dbh))^2))
I've tried wireframe(M~t|DBH, data=TxDBH)
wireframe(M~time|dbh, data=M)
wireframe(M~time|dbh)
also the above model specifications using cloud.
but
I get the following errors:
Error in latticeParseFormula(formula, data, dimension = 3, subset = subset,
:
invalid model
Error in eval(substitute(groups), data, environment(formula)) :
numeric 'envir' arg not of length one
any advice much appreciated.
*Ben *
[[alternative HTML version deleted]]
2007 Jan 31
7
features of save and save.image (unexpected file sizes)
Hi,
Today I came upon unexpected R behaviour. I did some modelling and the
result was R object, about 28MB size (nested list, with matrixes as
list elements). When I was saving the session with save.image, the
resulting .RData file was 300MB. There were no other large objects:
>
2005 Apr 19
1
Strange behavior in Lattice when superimposing
...impose the two distributions on the plot, as
if they were in different "groups". But the resulting density plot is
goofy -- it looks like it is mixing the two distributions instead of
plotting each one separately. In fact I can prove that the
distributions are being mixed...
groups = latticeParseFormula(~ a+b, parent.frame(), multiple=T)$groups
If I understand things correctly, the groups vector has length = the
combined size of the input vectors (e.g. 110 in this case). The values
in "groups" are factors indicating which input vector is being pulled
from. So there should be 10 a'...
2004 Nov 28
1
Is this a bug in the parser? (PR#7395)
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs@r-project.org
#
######################################################
<<insert bug report here>>
Is this a bug in the parser?
Specifically, the trace