|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Attributes of a dataframeI am using attributes to tag a dataset with meta information. I find that if restrict the columns of my dataset by a command such as jj.df<-jj.df[,-c(2,6,8)] or jj.df<-jj.df[,c(8,7,9,10)] that the attributes I set originally are dropped. Can anyone explain why that is and whether I can stop it happening? Regards and thank you in advance,
********************************************************************************** Irish Life Investment Managers Limited is authorised by the Financial Regulator. Irish Life Investment Managers Limited Registered Office: Beresford Court, Beresford Place, Dublin 1. Registered in Ireland Number 116000
While Irish Life Investment Managers uses reasonable efforts to ensure that the information contained in this email is current, accurate and complete at the date of publication, no representations or warranties are made (express or implied) as to the reliability, accuracy or completeness of such information. Irish Life Investment Managers therefore cannot be held liable for any loss arising directly or indirectly from the use of, or any action taken in reliance on, any information contained in this email.
This material is for information only and does not constitute an offer or recommendation to buy or sell any investment, or subscribe to any investment management or advisory service. It is intended for the use of institutional and other professional investors. Past performance is not indicative of future results. The value of funds we manage may fall as well as rise.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept for the presence of computer viruses. **********************************************************************************
|
|
|
Re: Attributes of a dataframeIt is a general feature that (most) attributes get
dropped during subscripting. I think you need to make your own class of object and write a subscripting method for the class. Patrick Burns patrick@... +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User") Treacy, Glenn wrote: > > I am using attributes to tag a dataset with meta information. I find > that if restrict the columns of my dataset by a command such as > > jj.df<-jj.df[,-c(2,6,8)] or jj.df<-jj.df[,c(8,7,9,10)] > > that the attributes I set originally are dropped. Can anyone explain > why that is and whether I can stop it happening? > > Regards and thank you in advance, > Glenn > > ********************************************************************************** > > *Irish Life Investment Managers Limited is authorised by the Financial > Regulator. Irish Life Investment Managers Limited Registered Office: > Beresford Court, Beresford Place, Dublin 1. Registered in Ireland > Number 116000* > > > > While Irish Life Investment Managers uses reasonable efforts to ensure > that the information contained in this email is current, accurate and > complete at the date of publication, no representations or warranties > are made (express or implied) as to the reliability, accuracy or > completeness of such information. Irish Life Investment Managers > therefore cannot be held liable for any loss arising directly or > indirectly from the use of, or any action taken in reliance on, any > information contained in this email. > > > > This material is for information only and does not constitute an offer > or recommendation to buy or sell any investment, or subscribe to any > investment management or advisory service. It is intended for the use > of institutional and other professional investors. Past performance is > not indicative of future results. The value of funds we manage may > fall as well as rise. > > > > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. This footnote also confirms that this email > message has been swept for the presence of computer viruses. > > ********************************************************************************** > > > This message was distributed by s-news@.... To unsubscribe send e-mail to s-news-request@... with the BODY of the message: unsubscribe s-news |
| Free Forum Powered by Nabble | Forum Help |