Displaying 9 results from an estimated 9 matches for "plotfun".
2002 Feb 12
1
problem plotting nls objects: couldn't find function "..."
...t plot nls objects for some reason. The following example, taken from
help(plot.nls) illustrates the problem:
> data(Orthodont)
> fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
> plot(fm1, resid(., type = "p") ~ fitted(.) | Sex, abline = 0)
Error in do.call(plotFun, as.list(args)) :
couldn't find function "xyplot"
I checked the 2002 archives to see if this is a common problem resulting
from a recent break, but found no hints of that. I am guessing that plot()
is correctly calling on plot.nls() which is calling the S function xyplot()...
2005 Apr 07
2
newline in lattice axis label
Hi,
I have a 3 panel xyplot with different variables in the y axis. I'm trying
to insert a newline after "Width (cm)," in the ylab argument as in the
example below. My goal is to have the y axis label broken into two lines,
split after the string just mentioned.
plotfun <- function() {
fakedf <- data.frame(A = sample(1:100, 50),
B = rnorm(50),
C = rnorm(50),
D = rnorm(50))
myplot <- xyplot(B + C + D ~ A, data = fakedf,
outer = TRUE, allow.multiple = TRUE, layout =...
2001 Mar 05
1
pb with plot in nlme
hello all,
I've got problems with plotting in nlme :
> example(nlme)
> plot(fm1)
Error in do.call(plotFun, as.list(args)) :
couldn't find function "xyplot"
I've seen in Changelog that there have been changes in plotting
funtions, may I've missed something...
nlme3.1-10
_
platform sparc-sun-solaris2.8
arch sparc
os solaris2....
2011 Aug 05
2
Aggregating data
I aggregated my data: aggresults <-aggregate(results, by=list(results$a, results$b, results$c), FUN=mean, na.rm=TRUE)
results has about 8000 lines of data, and aggresults has about 80 lines. I would like to create a separate variable for each of the 80 aggregates, each containing the 100 lines that were aggregated. I would also like to create plots for each of those 80 datasets.
Is
2001 Aug 29
1
lme questions
...logpepcr1 2 11 3885.392 3943.653 -1931.696 1 vs 2 93.96144 <.0001
Where can I get an estimator for the variance of the random factor fMub?
Is there a way to specify an interaction between fMub and fKTemp?
And why does this happen?
> plot(logpepcr1)
Error in do.call(plotFun, as.list(args)) :
couldn't find function "xyplot"
(plot(logpepcr0) works; I use R 1.3.0 on Solaris.)
Thank you for help.
Christian
***********************************************************************
Christian Hennig
University of Hamburg, Faculty of Mathematics - SPST/ZMS
(S...
2012 Apr 11
0
mosaic 0.4 on CRAN
...Fun(model)
> L( 9.0, 'B')
1
24.80017
> L( 9.0, 'B', interval='confidence')
fit lwr upr
1 24.80017 24.30979 25.29055
> xyplot( length ~ width, groups= sex, KidsFeet ) # scatter plot
> with different symbols for boys and girls
> plotFun(L(x,'B') ~ x, add=TRUE) # add model fit (for boys) to plot
> plotFun(L(x,'G') ~ x, add=TRUE, lty=2) # add model fit (for girls)
> to plot
> rflip(10) # flip a coin 10 times
Flipping 10 coins [ Prob(Heads) = 0.5 ] ...
T H T H H H T H H T
Result: 6 heads.
> do(...
2012 Apr 11
0
mosaic 0.4 on CRAN
...Fun(model)
> L( 9.0, 'B')
1
24.80017
> L( 9.0, 'B', interval='confidence')
fit lwr upr
1 24.80017 24.30979 25.29055
> xyplot( length ~ width, groups= sex, KidsFeet ) # scatter plot
> with different symbols for boys and girls
> plotFun(L(x,'B') ~ x, add=TRUE) # add model fit (for boys) to plot
> plotFun(L(x,'G') ~ x, add=TRUE, lty=2) # add model fit (for girls)
> to plot
> rflip(10) # flip a coin 10 times
Flipping 10 coins [ Prob(Heads) = 0.5 ] ...
T H T H H H T H H T
Result: 6 heads.
> do(...
2007 Feb 11
2
Suppresing default text in pairs.lmList() in package = nlme
I would like to suppress the text 'Scatter Plot Matrix' that appears
under the plot. Could someone please suggest how?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011
2012 Sep 09
1
Error msg in rpanel
...els = "Second:", action = my.redraw, initval="200")
rp.radiogroup(panel = my.panel, var = vals,
values = c("numbers", "strings"),
action = my.redraw, title = "Type")
rp.tkrplot(panel = my.panel, name = my.tkrplot, plotfun = my.draw)
}
[[alternative HTML version deleted]]