I've created a short program to print a table of learning curve factors.
However, I cannot figure out how to format the table to:
1) Get rid of the [1]s in the first column and replace it with the values of
N.
2) Line up the first row with the factors (decimal fractions).
Thanks for any help.
The
When I use wilcox.test, I get vastly different p-values than the problems
from Statistics textbooks.
For example:
The following problem comes from "Applied Statistics and Probability for
Engineers", 2nd Edition, by D. C. Montgomery. Page736, problem 14.7. The
problem is to compare the sample dat
Thanks, Erik,
This is a partial copy of my code. I want to get rid of the left column of
integers and I want to control the number of decimal places after the
decimal point.
> j<-0.4
> for(i in 1:20){
+ j=j+0.1;cp[i]<-pnorm(-j*3)*10^6;ratio[i]<-j}
> table<-data.frame(ratio,cp)
> table
rati
Hi!
I'm an R newbie and this should be a trivial problem, but I can't make it
work and cannot find what I'm doing wrong in the literature.
I entered the the command:
table<-data.frame(x, scientific=F, digits=4)
table
This prints a column of x with 16 useless decimal places after the decimal
point.
I'm an R newbie and am trying to plot 3 vectors, say a,b,c. I have
downloaded 3 R manuals and searched your forum. There are plenty of X vs Y
examples, but cannot find how to plot 3, or more vectors one one graph. I'm
sure I overlooked something.
Thanks for any help.
CHV
--
View this message i
I have a list of 20 values. The first time through a loop I want to find the
mean and stnd.dev. of the first two values; the second time through the loop
I want to find the mean and stnd. dev. of the first 3 values, etc. until
the last time through the loop I want to find the mean and stnd. dev.
I'm a new user and am having trouble with loops.
In the following, I'm trying to add the results of "test" and the loops are
not working.
I've simplified the loop. What am I doing wrong?
Thanks!
> test<-numeric(20)
> tot<-numeric(20)
> for(i in 1:20){test[i]<-1}
> for (i in 1:20){tot[i]<-(test[i]
7 matches
Mail list logo