[R] Grep functions output

2013-08-05 Thread Lívio Cipriano
the grep function of R (http://stat.ethz.ch/R-manual/R-devel/library/base/html/grep.html ) or is there other easy way to do it? Regards Lívio Cipriano __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] Grep functions output

2013-08-05 Thread Lívio Cipriano
On 05 August 2013 11:11:22 Phil Spector wrote: but most functions in R that provide p-values make it possible to extract the p-value from the result of the function call without using any text Thanks for your answer. In fact it's the simple way to do it. Regards Lívio Cipriano

[R] Time Series X labels

2013-07-30 Thread Lívio Cipriano
Hi, When we plot a Time Series object with a annual frequency, in the X axes usually appears mark ticks with an interval of 5 years. How can customize the X axes putting a tick for every year? Regards Lívio Cipriano __ R-help@r-project.org mailing

[R] Time Series with daily frequency

2013-07-30 Thread Lívio Cipriano
Hi, I tried to use the ts function to create a Time Series object with daily frequency but I couldn't. It's not possible or I'm not using the right parameters? Regards Lívio Cipriano __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Time Series with daily frequency

2013-07-30 Thread Lívio Cipriano
On 30 July 2013 17:50:08 Rui Barradas wrote: Maybe you could set it frequency = 365. No. It didn't worked. Was my first trial. Also, see packages zoo and xts for the creation of time series objects with real time stamps. I'll look in to them. Regards Lívio Cipriano

Re: [R] Retrieving Labels from vars/cols

2013-06-19 Thread Lívio Cipriano
On 19 June 2013 09:26:30 David Carlson wrote: Perhaps you are talking about the variable.labels attribute returned by read.spss in package foreign? That is it. I'll try it Thanks Lívio Cipriano __ R-help@r-project.org mailing list https

Re: [R] Retrieving Labels from vars/cols

2013-06-19 Thread Lívio Cipriano
On 19 June 2013 09:26:30 David Carlson wrote: variable.labels attribute returned by read.spss in package foreign? If so, you should try the attributes() or the attr() function: Hi, I used attr(test,variable.labels)[i][1]) and it worked. Thanks Lívio Cipriano

[R] Retrieving Labels from vars/cols

2013-06-18 Thread Lívio Cipriano
Hi, How can I read/retrieve the Labels strings of the $variables.label proprety of a data Frame? Regards Lívio Cipriano __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Retrieving Labels from vars/cols

2013-06-18 Thread Lívio Cipriano
Hi, How can I read/retrieve the Labels strings of the $variables.label proprety of a data Frame? Regards Lívio Cipriano __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R

[R] Q and R mode

2011-09-06 Thread Lívio Cipriano
Hi, Can anyone explain me the differences in Q and R mode in Principal Component Analysis, as performed by prcomp and princom respectively. Regards Lívio Cipriano __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Q and R mode in Principal Component Analysis

2011-09-06 Thread Lívio Cipriano
Hi, Can anyone explain me the differences in Q and R mode in Principal Component Analysis, as performed by prcomp and princom respectively. Regards Lívio Cipriano __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help