Skip to content
Prev 693 / 15379 Next

[R-es] posiciones sobre vectores

Hola:
un truco que uso a menudo cuando no trabajo con vectores muy
largos es:
ww <- c(NA,NA,NA,2,7,8,15,20,NA,NA)
names(ww) <- 1:length(ww)
no.NA <- ww[!is.na(ww)]
names(no.NA[c(1,length(no.NA))])

Gabriela




----- Original Message Follows -----
From: almarti en bariloche.inta.gov.ar
To: r-help-es en r-project.org
Subject: Re: [R-es] posiciones sobre vectores
Date: Thu, 11 Feb 2010 23:28:11 -0300 (ART)
___________________________________________________________________________

Aviso:
==
El contenido del presente e-mail y sus posibles adjuntos pertenecen al INTA y pueden contener información confidencial. Si usted no es el destinatario original de este mensaje y por este medio pudo acceder a dicha información, por favor solicitamos contactar al remitente y eliminar el mensaje de inmediato. Se encuentra prohibida la divulgación, copia, distribución o cualquier otro uso de la información contenida en el presente e-mail por parte de personas distintas al destinatario. 


This e-mail contents and its possible attachments belong to INTA and may contain confidential information. If this message was not originally addressed to you, but you have accessed to such information by this means, please contact the sender and eliminate this message immediately. Circulation, copy, distribution, or any other use of the information contained in this e-mail is not allowed on part of those different from the addressee.


Antes de imprimir este mensaje, asegúrese de que sea necesario. Proteger el medio ambiente está también en su mano.