Displaying 20 results from an estimated 2000 matches similar to: "randomisation for matrix"
2005 Aug 09
5
RGUI crash when opening script in XP Home enviroment
If there is a helpfile open (f.e ?glm) and it is the top window, then
an exception error occurs (closing RGUI)
when I hit the open file button.
If the helpfile is not the top window (of the RGUI) I am able to open a
new script without any error.
The RGUI is not closing complete there is a blank screen left which I
have to close with the X Button or Taskmanager
Windows XP Home - German Version
2010 Jul 27
2
Glm
Hi,
Is there any way to estimate a DEPENDENT variable through a GLM/LM model?
Suppose I have the linear model: y=a0+a1*x1+a2*x2 (a0=1, a1=0.6, a2=0.8,
x1~N(1,1), x2~N(0,1)).
The alphas and the auxiliary variables are given and I have to estimate y.
The point is if I estimate it, let¹s say algebraically, I get high variances
that do not decrease as sample sizes increases... Is the any other way
2006 Dec 11
2
Switch and integer
I searched the help list and the manual, but I do not find my mistake.
Switch is working with character , with integer, but not in the third
example
Regards Knut
count1 <- 0
test
2006 Feb 17
4
showing the integrated number by point size
Is there any function to show the points like this example of SPSS?
http://biostatistic.de/temp/reg.jpg
The point size should represent the number of data at this point.
with regards
Knut Krueger
2009 Apr 08
1
Genstat into R - Randomisation test
Hello everybody,
I have a question. I would like to get a correlation between
constitutive and induced plant defence which I messured on 30 plant
species. So I have table with Species, Induced defence (ID), and
constitutive defence (CD). Since Induced and constitutive defence are
not independant (so called spurious correlation) I should do a
randomisation test. I have a syntax of my
2005 Jul 12
5
High resolution plots
Is there any possibility to get high resolution plots in a windows xp
system?
I tried it with the device function png(filename =
"c:/r/highresplot%d.png",pointsize=12, res=900)
but when I try to set: width = 480, height = 480 or pointsize = 12,
the text is not scaled in the same way as the plots.
with regards
Knut Krueger
http://www.biostatistic.de
2009 Dec 23
7
String question
Hi to all
I need a string like
temp <- paste("m1","m2","m3",sep=",")
But i must know how many items are in the string,afterwards
the other option would be to use a vector
temp <- c("m1","m2","m3")
No problem to get the count of items but I must get afterwards the
string "m1,m2,m3"
No problem to build the
2010 Feb 23
5
deleting column from data frame
Hi to all,
test <- data.frame("X"=c(1:4),"Y"=c(5:8),"Z"=c(8:11))
test <- test[,-2]
Is there a way to specify the col name "Y" to delete instead the number?
Kind regards Knut
2005 Jul 13
3
texture in barplots?
Dear R list,
For some reason I am unable to access neither search.r-project.org, nor
http://finzi.psych.upenn.edu/ so I cannot search the archives for a possible
answer (I Googled for this but didn't find anything).
Is it possible to draw barplots using a texture instead of colors, for a black
and white printer?
TIA,
Adrian
--
Adrian Dusa
Arhiva Romana de Date Sociale
Bd. Schitu
2010 May 18
5
looking for .. dec if vector if element > x
Hi to all,
I am just looking for more efficient ways ;-)
is there a better way instead a loop to decrease x if greater y
test <- c(1,3,5,7,9)
decrease if greater 1 to
test2 <- c(1,2,4,6,8)
Kind regards
Knut
2011 Mar 25
4
read.xls -> rotate data.frame
Hi to all,
how could I to rotate automatically a data sheet which was imported by
read.xls?
x1 x2 x3 .... xn
y1 1 4 7 ... xn/y1
y2 2 5 8 .... xn/y2
y3 3 6 9 ....xn/y2
yn ... ... ... Xn/Yn
to
y1 y2 y3 .... yn
x1 1 2 3 ..... Yn/x1
x2 4 5 6 .... Yn/x2
x3 7 8 9 .... Yn/x2
xn ... ... ... ..... Yn/xn
Kind regards Knut
2011 Apr 07
1
Randomisation tests
Hi,
I want to ue a randomisation test, to compare two sample means, for a
small set of data, I've looked at towt.permutation, perm.test and
permtest, as well as permTS(), which is the best one to use for such a
simple purpose? I know perm.test package isn't used anymore and coins
recommended, but reading the manual I couldnt find the function most
like it, ore more likely I
2005 Sep 25
4
hist(x, ...) with normal distribution curve
.
I am looking for a histogram or box plot with the adding normal
distribution curve
I think that must be possible, but I am not able to find out how to do.
Regards Knut
2010 Jul 21
4
Chi-square distribution probability density function:
Hi to all I found
an formular of an **
***p-Value Calculator for the Chi-Square test*
*http://www.danielsoper.com/statcalc/calc11.aspx*
*with the formula*
*http://www.danielsoper.com/statkb/topic11.aspx*
*what's the gamma function of this formula in r?*
*df=5*
*ch2=25.50878*
*the following code does not give the result <0.001 for the values above *
*p=
2007 Aug 16
7
combining P values using Fisher's method
Hi All,
Can somebody tell me how to use R to combine p values using Fisher's method? thanks.
Jiong
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and
2009 Apr 06
5
Search for a graph package - see link
Hi to all,
does anybody knows whether there is a package to plot those
http://www.equine-science.de/temp/graph.jpg
graphs.
the thickness of the points and/or the lines should be represent the
numbers of behaviours
With kind regards Knut
2005 Oct 11
3
8 char labels in read.spss
I was wondering why it is possible to read long labels from the CVS
files but not from the SPSS files.
I did not have much time to search for the code but I found:
in foreign_0.8-10 source file var.h.in
> /* Definition of the max length of a short string value, generally
> eight characters. */
> #define MAX_SHORT_STRING ((SIZEOF_DOUBLE)>=8 ? ((SIZEOF_DOUBLE)+1)/2*2
> : 8)
2006 Jan 18
6
some EPS rotated in journal preview
I am trying to send a manuscript to a journal.
One of the figures build by R is in the right orientation and 4 are rotated clockwise 90 deg in the preview.
I used the right click save to PS option and I used the command line
postscript("c:/temp/fig04.eps",bg="transparent",onefile = TRUE ,pointsize=20,paper = "letter",height=8,width=8,horizontal=FALSE,family =
2011 Nov 25
1
Problem with & question about \preformatted in .Rd
Hi,
The "\preformatted" environment in Rd files doesn't seem to escape
long sequences of backslashes properly when converted to pdf (LaTeX)
documentation. I'm running R version 2.14 (from subversion, revision
57751) on Linux (RHEL). Here's an example from the command line:
echo
2009 Nov 13
3
sum(row1==y) if row2=x
Hi to all
is there any construct to sum
data=data.frame(row1=c(1,1,3,1,2,3,2,2,1,3,4,5,2,3,2,1) ,
row2=c(2,2,1,1,1,2,1,2,1,1,1,1,2,2,2,1) )
Means I would like to get all y of row1 if in row2 of the data.frame is
an x
f.e row1=3 and row2=2
so I would like to get 6
And is there another construct to get the count of pairs where
row1=3 and row2=2
means the result should be