Dear Richard M. Heiberger,
I've some problems understanding your function. Where is the power visualized?
May you give me an example including the following parameter given by
power.t.test(n = 2, sd = 1, power = 0.5, sig.level = 0.05, type =
"one.sample", alternative = "one.sided")
Thanks i
Dear R-User,
I'm trying to visualize the results of the power calculation with the function
power.t.test(). Therefore I want to plot the related t-distributions and shade
the surfaces indicatingt the type I error, the type II error and the power. For
sample sizes greater 30 I got results which
Hey R-user,
Ive searched the archives about the following questions and didnt find
anything useful. The last entries are more than 2 years old. Is there now
any possibility to insert a picture or a graphic in a rd-help-file?
Im looking forward for any suggestions or hints.
Much thanks
__
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.
Dear r-user,
I've wrote a small function to visualize the creation of a histogram.
Therefore I create a vector with random values and let them plot in
histograms. I better give a small example in R-Code:
i=0
funVec=rnorm(1000)
temp=hist(funVec,plot=FALSE)
plot(1,xlim=c(max(temp$breaks),m
Dear r-user,
I've wrote a small function to visualize the creation of a histogram.
Therefore I create a vector with random values and let them plot in
histograms. I better give a small example in R-Code:
i=0
funVec=rnorm(1000)
temp=hist(funVec,plot=FALSE)
plot(1,xlim=c(max(temp$breaks),m
Good afternoon everybody,
I'm writing a little function to visualise hypothesis testing. Therefore
I need to extract the confidence level of a t-test. Here a little example:
x <- str(t.test(1:10)
gives
List of 9
$ statistic : Named num 5.74
..- attr(*, "names")= chr "t"
$
Hello everybody,
I'm trying to use a if-statment on a function. For a better
understanding I want to present a small example:
FUN=mean # could also be median,sd or
any other function
if (FUN == mean)
plot(...)
if (FUN == median)
plot(...)
rom combinat to define the function
within your file. I guess it works (but didn't check) as it does not
seem to require any of the other functions of the package.
HTH, Michael
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of
Dear R-Users,
I'm relativley new to R and have the following problem. I need all
permutations of the vectors created by the collumns of a matrix. I will
give a small example:
p=3
n=2^p-1
#number of obtainable vect
Hey everybody,
I have a small problem with a routine, which prepares some data for
plotting.
I've made a small example:
c=10
mat=data.frame(matrix(1:(c*c),c,c))
row.names(mat)=seq(c,1,length=c)
names(mat)=c(seq(2,c,length=c/2),seq(c,2,length=c/2))
v=as.numeric(row.names(mat))
w
Hey everybody,
I have a problem with the combination of the commands outer() and predict(). I
want to visualize the solutions of a regression modell in a matrix. Therefore I
want to use the command predict for a linear modell as the function inside the
command outer. I've made a small example:
nt to wish everybody a
merry merry christmas.
Thanks in advance.
Etienne Stockhausen
__
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
13 matches
Mail list logo