Displaying 20 results from an estimated 4000 matches similar to: "Grahpics problem"
2011 Mar 27
1
Bootstrap 95% confidence intervals for splines
There appear to be reports in the literature that transform continuous
independent variablea by the use of splines, e.g., assume the dependent
variable is hot dogs eaten per week (HD) and the independent variable is
waistline (WL), a normal linear regression model would be:
nonconfusing_regression <- lm(HD ~ WL)
One might use a spline,
confusion_inducing_regression_with_spline <- lm(HD
2009 Jun 16
2
Further bug discovered with the Directshow decoder
Hi good people,
Just to inform:
I finally fed FFMpeg2Theora with a .VOB input, and the .OGV output produced played back beautifully in VLC, both audio and video. However, the same output .OGV file gave clicks and pops in the audio when fed through Directshow programs. I played it through Windows Mediaplayer as well as through Winamp, with the same crackles in the audio, and this leads me to
2007 Jun 13
3
extractor rows from a matrix
hi!
i have a little problem: my data's matrix has 1093 rows and 3 columns.
i'd like to extract each rows..
something like this:
ht= my matrix
Dt=(???)=a vector with t=1,2...1093
what can i do?
thank you!
Vincenzo
--
View this message in context: http://www.nabble.com/extractor-rows-from-a-matrix-tf3913088.html#a11094459
Sent from the R help mailing list archive at Nabble.com.
2007 Mar 05
4
0 * NA = NA
Is there any way to "force" 0 * NA to be 0 instead of NA?
For example, suppose I have a vector with some valid values, while
other values are NA. If I matrix-pre-multiply this by a weight
row vector, whose weights that correspond to the NAs are zero,
the outcome will still be NA:
x <- c(1, NA, 1)
wt <- c(2, 0, 1)
wt %*% x # NA
Alberto Monteiro
2007 May 16
3
Filled step-function?
Hello,
I'd like to generate a filled step-function in R as you can see in the
attachement (image is generated by grapher, but I need a freely
available alternative). The problem is, that I don't know, how to fill
it up. My code right now looks like this:
pH <- c(0,6.1,6.1,6.3,6.6,7.3,0)
Tiefe <- c(0,0,10,40,80,120,10)
plot(pH,Tiefe,type="s",main="Tiefenfunktion
2007 Apr 16
3
session log
Hi,
is there a platform independent way to log a complete R session (input +
output + warnings + errors + ???) into a text file? I can use sink(file,
split=T) and savehistory() but it is quite cumbersome to merge the files
and still there is some loss (eg. warnings).
I wondered that I only found this thread from 2003(!) related to this topic:
2007 Feb 27
5
Multiple conditional without if
Dear all,
i am stuck with a syntax problem.
i have a matrix which has about 500 rows and 6 columns.
now i want to kick some data out.
i want create a new matrix which is basically the old one except for all
entries which have a 4 in the 5 column AND a 1 in the 6th column.
i tried the following but couldnĀ“t get a new matrix, just some wierd
errors:
2007 Apr 23
5
Changing working directory
Good morning,
I keep copies my .RData file in different directories for different projects on Windows XP. There is an icon on my desktop for each project so all I have to do is click on the icon to open R for a specific project, i.e. a specific .RData file. How do I change to another .RData file from within R without first closing R?
Thanks,
Walt Paczkowski
2007 Jun 15
1
Loop for test statistic
I would like to obtain the statistic of A2 for ycf between the value 0.0032
and 0.09, and I am using the following codes.
while (0.0032 <ycf <0.09) {
A2 <- A2_GOFlaio(ycf, dist="GEV")[1]
print(A2)
}
Could anyone give me some advice as it does not work.
Many thanks.
--
View this message in context: http://www.nabble.com/Loop-for-test-statistic-tf3927249.html#a11137549
Sent
2007 Apr 26
2
Extract p-value from survdiff function
Hi list,
I want to use the p-value from the survdiff function (package
survival) to reuse within a function in a Kaplan-Meier plot. The
p-value is somehow not a component of the value list ?!
Thanks in advance
--
A. Goralczyk
G?ttingen, Ger.
2007 Feb 24
1
recovering collums of DF using a text var.list
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070224/7164edfb/attachment.pl
2007 Feb 26
1
Chi Square with two tab-delimited text files
Hi,
I want to do a chi square test and I have two tab delimited text files with
Expected and Observed values to compare. Each file contains only the values
and are 48 rows by 116 columns. I have managed to do something with them,
but I don't think it is right as I got a p value of 1. In this case I used
the read.table() function to read the values from the files. But I don't
know if
2007 Mar 01
1
R (Input from Keyboard): How do I remove error?
Hi,
I am trying to read some value from keyboard in one of my R program. I want
to do manipulation on data based on this value. But I am facing a problem
which is described below with the help of an example:
My code is similar to:
:
:
cat("\n","Enter value:: ","\n")
y<-scan(n=1)
a <- b*y
cat("\n","Enter new value::","\n")
2007 Mar 06
2
Generate random numbers up to one
Dear all,
I would like to know if there is a simple way to generate random numbers
with the constrain that they sum up to one. I am new using R...
Thanks in advance,
N?ria
_________________________________________________________________
Acepta el reto MSN Premium: Correos m?s divertidos con fotos y textos
incre?bles en MSN Premium. Desc?rgalo y pru?balo 2 meses gratis.
2007 Mar 06
1
Waiting for Key input
Hi,
I have another question. Is there any command that waits for key input?
I am running R on OS X, so getGraphicsEvents doesn't work.
I have put some debug print messages in a function and would like to
pause the code every time the message is printed and continue on a
keypress.
Thank you
Saptarshi
Saptarshi Guha | sapsi@pobox.com | http://www.stat.purdue.edu/~sguha
2007 Mar 07
2
Download packages problem.
Hi,
I have a little problem with the installation of a new packages. The
installation of R software is correct, but my server required authentication
for use it, and for load a new package directly from R it is not possible.
Is there a code or process for server authentication (put my login and
password) in R for download directly the packages?
The best regards,
--
Luis Antonio Garavito
2007 Mar 12
1
Export successively displayed graphics
Hello,
I am running R version 2.4.1 on Debian.
I am using some R functions which produce several graphics displayed
successively with an interactive prompt between each graph. For example,
the plot.varest (vars) function produces such output (one graph per time
series on which the VAR model is fitted). Plots on GARCH models also
produce such outputs.
Moreover, the frontend I am using for R
2007 Mar 14
1
Trimming a Data Set
Hi,
I am trying to restrict a data set so as not to included outliers. Specifically, I would like to specify a percentage where a fraction of observations are eliminated from the data set, much in the same way that the trimmed mean function works - but leaving the restricted data set intact.
I have been using a function which will restrict the data set using:
> trim=function(x,p){
>
2007 Apr 17
2
background color
hi,
I want to add different colors on the background of a classical plot. Each color is associated to an interval of the x axis.
example: the background is red on the interval [1,10], blue on [11,20].
I try the rect function but it isn't appropriate for the background.
Can any one can help me please?
best regards.
---------------------------------
[[alternative
2007 Apr 23
2
residuals and predict
hi,
in using glm function is it possible to extract residuals and predict values ?
___________________________________________________________________________
[[alternative HTML version deleted]]