search for: stoliaroff

Displaying 20 results from an estimated 20 matches for "stoliaroff".

2003 Nov 06
3
import data troubles
HI R lovers, I have been facing a petty trouble with datas' import : I have a plain txt file (see attached file or the copy below) that I cannot read either with scan or read.table > scan(file="F:/Alt/HDG/Stoliaroff/Data/test.txt") Error in scan(file = "F:/Alt/HDG/Stoliaroff/Data/test.txt") : "scan" expected a real, got "??6" > read.table(file="F:/Alt/HDG/Stoliaroff/Data/test.txt") V1 1 ??6 2 \n 3 6 4 4 5 5 6 3 7 3 8 \n 9 6 10...
2003 Jun 06
3
writing comments within a function
Hi R lovers! I would like to know how you can write comments inside the code of a function is it latex style % ? or any other language style? thanks a lot ************************************************************************* Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute
2003 Jul 15
3
clearing some part of a graph
Hi R lovers 2 questions: 1) I'd like to know how to clean the title, the sub title or the labels of a graph. I know how to redefine it with the function title() but it overwrites the previous title and do not replace it 2) How could I clear a whole plot (for example in a multiple figure environment) thanks for your help vincent
2003 Feb 09
3
Clustering partition and memory
Dear R-help list members i would like to use R to produce clustering or partitioning of a dataset. I am trying to use the functions: - hierclust() of the package multiv -pam(), agnes() and fanny() of the package cluster But I cannot get any result because of lack of memory. Would you know any clustering function not to greedy in memory? I have tried to expand my memory limit with memory.limit()
2003 Jul 25
5
named list 'start' in fitdistr
Hi R lovers! I'd like to know how to use the parameter 'start' in the function fitdistr() obviously I have to provide the initial value of the parameter to optimize except in the case of a certain set of given distribution Indeed according to the help file for fitdistr " For the following named distributions, reasonable starting values will be computed if `start'
2003 Nov 24
2
merging variable and character
Hi R lovers! I'd like to know the trick to get a plot with a title associating variable and text I'd like to plot something like for (i in 1:10) plot(x[,i],ylab="Serie" & i) to get Serie 1 Serie 2 so on and so forth... of course it doesn't work. If somebody could give me an idea, it would be very nice thank you very much and long life to R Vincent
2003 Apr 25
3
Code bug unresolved involving if condition
Hi R lovers! I am a beginner in coding with R so my question may be very easily solved but I don't know how. I have written the following function in a .txt file ClearDelta <- function(Matrix) { ncol<-ncol(Matrix);nrow<-nrow(Matrix); for (i in 1:nrow) { for (j in 1:(ncol-1)) {if (Matrix[i,j]==NA) (NA->Matrix[i,j+1])} }
2003 Jun 24
2
R and Latex's tables
Hi R lovers! I have discovered recently that graph can be exported from R in a Latex compatible file thanks to the pictex command I would like to know if there is the equivalent while exporting datas. Let's say I have a matrix, a data.frame or a list that I would like to export as a flat text file that is immediatly transcripted into a table into latex Is there a macro or package that could
2003 Mar 04
4
writing several command line in R console
Hi R lovers I would like to know how to step to the next line in the R console editor without breaking the continuity of my code more clearly : if for example I write a function, so far i have to write the all code inside on the same line wich may become obscure as the function is more and more complex. I would like to do like in the example of the manuels: >twosam <- function(y1, y2) {
2003 Apr 24
3
Missing Value And cor() function
Hi r lovers! I 'd like to apply the cor() function to a matrix which have some missing values As a matter of fact and quite logically indeed it doesn't work Is there a trick to replace the missing value by the mean of each variable or by any other relevant figures ? Or should I apply a special derivate of the cor() function, (I don't have any idea if it exists and have some trouble to
2003 Jan 30
4
Downloading Package
Hello, I am a beginner in using R so my question could seem very simple. I would like to download the package multiv to do multivariate data analysis. The package I download seems to be a file meant for UNIX and I am using a Window OS. How could I download and install correctly this file? Thanks a lot _________________________________________________________________ MSN Messenger :
2003 Apr 28
0
Re: [R Thanks for help Writing a function
...--> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Vincent STOLIAROFF/fr/socgen at socgen | | cc: r-help at stat.math.ethz.ch | | Subject: Re: [R] Writing a function...
2003 Jul 15
1
function acf in package ts
Hi R lovers! I'd like to know if the 2 blue lines in the graph produced by the function acf in the package ts represents the level for the test of significance of the autocorrelation thanks for help vincent ****************************************************************** The sender's email address has changed to firstname.lastname@ sgcib.com. You may want to update your
2003 Jul 28
2
defining and plotting functions thanks to equation
Hi R lovers! Are there any means to define and plot a function given the equation that specifies the function? For example I'd like to plot and work with the Gumbel Distribution density defined by Lambda(x)=exp(-exp(-x)) My question may appear very simple but I haven't got an idea yet about how to do that. I could plot something with x a vector/set of value but I don't know how to
2003 Apr 28
2
Writing a function
Hi r lovers, I have written the following function > ClearDeltaBis function(Matrix){ for (i in 1:3) { for (j in 1:2) {if (is.na(Matrix[i,j])) NA->(Matrix[i,j+1])} } Matrix } it looks correct but when I try to implement it on the MatCor Matrix I get this error message >
2003 Jun 05
4
counting missing values
Hello R lovers I have written a little cute function to count the number of missing value per row in a matrix and return the percentage of missing value it takes a lot of time to run with a 1000 rows matrix I'd like to know if there is a function already implemented to count the number of occurence of a given values in a vector For information, here is the function count<-0 for (i in
2003 Jun 02
1
authorized characters and symbols
Hi R lovers Obviously I cannot use the underscore "_ " character to name an object in R Is there a special reason for that ? I want to use it to rename a function maybe the problem is due to the nature of the object I work on thanks for any comments on that very little and not very bothering trouble ************************************************************************* Ce
2003 Aug 05
1
error message in fitdistr
Hi R lovers Here is a numerical vector test > test [1] 206 53 124 112 92 77 118 75 48 176 90 74 107 126 99 84 114 147 99 114 99 84 99 99 99 99 99 104 1 159 100 53 [33] 132 82 85 106 136 99 110 82 99 99 89 107 99 68 130 99 99 110 99 95 153 93 136 51 103 95 99 72 99 50 110 37 [65] 102 104 92 90 94 99 76 81 109 91 98 96 104 104 93 99 125 89
2003 Dec 08
2
test for arima coef's significancy
Dear sirs, I would like to know if there is a function to compute the pvalue for the significancy of arima coef in an arima object created by the arima function. I have written this one: pvalueArima<-function(x,arima) { t<-(arima$coef)/(diag(arima$var.coef)^0.5) df<-length(x)-length(arima$coef) 1-pt(t,df) } Has somebody already implemented something equivalent ? thank you for your
2003 Nov 24
0
link between arima and arma fit
Hi dear sirs, I am wondering why the fit of the time serie x with an arima and the fit of diff(x) with an arma (same coeff p & d) differ one from another here are the output of R: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > modelarma<-arma(diff(x),c(7,5)) > modelarma Call: arma(x = diff(x), order = c(7, 5)) Coefficient(s): ar1 ar2 ar3 ar4 ar5 ar6 ar7 ma1 ma2 0.06078