[R] Find a word

2006-04-27 Thread Alexandra R. M. de Almeida
Dear R users, I have the following problem: I have an array with pasted words and I woul like to know the position of the vector that have another especific word. Let make an example: This tis the array: words.array-c(RedBall,PinkBall,YellowTable,BlueBall) And I would like to know the

[R] Using special characters

2006-01-26 Thread Alexandra R. M. de Almeida
Dear R users I'm having problems in putting special characters (like á, ã, ç ) in my plots, as much in titles, as in axis names, as in legend...when I save them as a pdf document. They don't appear... I don't know if it is because I'm using a linux platform... The script is the following:

[R] Re-writing the problem of Using special characters

2006-01-26 Thread Alexandra R. M. de Almeida
Dear R users I'm having problems in putting special characters (like á, ã, ç ) in my plots, as much in titles, as in axis names, as in legend...when I save them as a pdf OR JPEG document. They don't appear IN BOTH... I don't know if it is because I'm using a linux platform (MANDRIVA 2006)...

[R] Reanding a windows file

2006-02-20 Thread Alexandra R. M. de Almeida
Dear R users Some one knows how to read a windows file with the adress like D:\CSV\Work\test.csv without change the \ by / by myself?! There is some function or parameter that read like the adress windows form. I tried to search somethig to substitute the \ by /, but I don't find...

[R] Obtaining the adjusted r-square given the regression coefficients

2006-01-10 Thread Alexandra R. M. de Almeida
Hi people, I want to obtain the adjusted r-square given a set of coefficients (without the intercept), and I don't know if there is a function that does it. Exist I know that if you make a linear regression, you enter the dataset and have in summary the adjusted r-square. But

[R] Obtaining the adjusted r-square given the regression coefficients

2006-01-10 Thread Alexandra R. M. de Almeida
Dear list I want to obtain the adjusted r-square given a set of coefficients (without the intercept), and I don't know if there is a function that does it. Exist I know that if you make a linear regression, you enter the dataset and have in summary the adjusted r-square. But

[R] Regression with no-intercept

2006-01-17 Thread Alexandra R. M. de Almeida
Dear R users, There is a method called style analysis where you make a regression being Y=fund yield and X=benchmarks yield, where we have the restrictions to calculatethe linear regression: 1. The regression must don have the intercept term. 2. The coefficient sum must be one. 3. All