similar to: Download packages problem.

Displaying 20 results from an estimated 7000 matches similar to: "Download packages problem."

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
2004 Jun 24
2
Rotate a plot generated by wireframe
Is there any way to rotate a plot generated by the wireframe function (lattice)? Thank you, Fabian Garavito
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 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 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]]
2007 Apr 25
2
A very simple question
Hi all, I just loaded R 2.50. I want this version to bring the objects from the previous version. How do I do that? Thanks David
2007 Apr 25
2
creating random numbers
l want to create a column of 1 and 2 randomly what command should l use eg treatment strata 1 1 2 0 1 1 2 1 2 0 2 1 2 0 1 0 these should be created randomly secondly if l have
2007 Apr 27
1
Extracting values from an array
I have an array with dimension of 5001 (rows) by 40 (columns). This array is a series of power output from a wind turbine in kW. The rows correspond to wind speed from 0 to 50 m/s in 0.01 m/s step increments. The columns correspond to the air density values from 0.90 to 1.30 kg/m3 in 0.01 kg/m3 step increments. I have a vector of wind speed and air density observations (typically 8760 records
2007 May 02
2
missing package
l'm trying to find the "survdiff" package/function but it seems i cant get it how do l instal it if its not there thanks --------------------------------- [[alternative HTML version deleted]]