Displaying 20 results from an estimated 4000 matches similar to: "checking dependencies in R code ... WARNING"
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
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
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
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
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
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
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
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
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
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=
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
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
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)
2010 Nov 01
6
Plots inside a Plot
hi,
is it possible to draw a plot inside another plot f.e in the upper right
corner. I do not mean the possbility
par(mfrow = c(2,2).
Kind Regards
Knut
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 =
2013 May 03
2
Latex errors (build on windows)
Where can I found hepl about latex errors:
the R CMD check tells me less, but:
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
Error in texi2dvi(file = file, pdf = TRUE, clean
2005 Sep 01
6
png scaling problem
scaling<-4
xywidth<-480
resolution<-150
png(filename = "c:/r/anschluss/plots/4.png", width = xywidth*scaling,
height = xywidth*scaling,pointsize = 12, bg = "white", res =
resolution*scaling)
......
barplot(xrow,col = barcolors,cex.axis=scaling, ylab="mean time till attachment in sec",cex.lab=1.2*scaling)
I tried to scale the barplot but there is one
2009 Apr 16
1
Igraph: family 'serif' not included in PostScript device
Does anybody know how to solve this error?
postscript(file= "file.ps", family = "Helvetica", font = "Helvetica")
plot.igraph(g, layout=layout.circle, vertex.label.font=2)
dev.off()
error in text.default(x, y, labels = labels, col = label.color, family
= label.family, :
family 'serif' not included in PostScript device
Regards Knut
2010 Jul 28
1
randomisation for matrix
Hi to all,
I am looking for a randomisation procedure for a single matrix,
including a possibility to set the number of randomisations and the to
set the number of row and columns .
Knut
2013 Apr 20
3
R CMD build
I have no idea where I must R CMD build...
I am using Windows 7 wiht pearl installed
http://stat.ethz.ch/R-manual/R-patched/library/utils/html/PkgUtils.html
its completely unclear for me ... sorry
Knut