Why do you take 2.54? I think you forgot a bracket...
#par(mar = c(max(strwidth(names(x)) * 2.54, 4,4,2))
#
#should be
par(mar = c(max(strwidth(names(x))) * 2.54, 4,4,5))
#and 5 would be a better value. But this is merely trial and error?!
Regards
Thomas Kaliwe
Henrique Dallazuanna schrieb
row = c(1,2))
par(mar = c(8,4,4,2))
barplot(x, las = 3, main = "8 is to much")
par(mar = c(4,4,4,2))
barplot(x, las = 3, main = "4 is not enough")
###
strwidth2lines...
regards
Thomas Kaliwe
__
R-help@r-project.org mailing list
h
on("aovOrNULL", c("aov", "NULL"))
setClass("c1", representation(value = "aovOrNULL"))
y1 <- new("c1", value = NULL)
#trying to assign an aov object to the slot doesn't work
utils::data(npk, package="MASS")
npk.aov <
uot;c1", value = NULL)
#trying to assign an aov object to the slot doesn't work
utils::data(npk, package="MASS")
npk.aov <- aov(yield ~ block + N*P*K, npk)
y2 = new("c1", value = npk.aov )
Any ideas?
Thank you
Thomas Kaliwe
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Hi,
help(t.test)
x = rnorm(10, mean = 10, sd = 1) #some data
mytest = t.test(x, mu = 10) #is mu = 10
attributes(mytest) #what's in the test
mytest$p.value #obtain the p-value
mytest$statistic #obtain the t-value aka statistic
HTH
T
Hi,
I used Rserve http://www.rforge.net/Rserve/ to use the facilities of R
in a java applet. If you know how to write an applet, there are some
examples of how to talk to Rserve from Java.
Thomas Kaliwe
lamack lamack schrieb:
> Dear all, is it possible to implement some statistics d
6 matches
Mail list logo