Displaying 4 results from an estimated 4 matches for "last_bit".
2011 Mar 07
4
[PATCH 0/3] ocfs2: Add batched discard support
Hi all,
This patch set adds batched discard support to ocfs2. Please check. Thanks.
Regards,
Tao
2016 Apr 25
0
Please assist -- Unable to remove '-' character from char vector--
...real hyphens
end<-c("2001-","1992-","2013-","2013-","2013-","2013-",
"1993-2007","2010-","2012-","1984-1992","1996-","2015-")
splitends<-sapply(end,strsplit,"-")
last_bit(x) return(x[length(x)])
sapply(splitends,last_bit)
Jim
On Mon, Apr 25, 2016 at 4:35 PM, Sunny Singha
<sunnysingha.analytics at gmail.com> wrote:
> Hi,
> I have a char vector with year values. Some cells have single year
> value '2001-' and some have range like 1996-2007.
&g...
2016 Apr 25
3
Please assist -- Unable to remove '-' character from char vector--
Hi,
I have a char vector with year values. Some cells have single year
value '2001-' and some have range like 1996-2007.
I need to remove hyphen character '-' from all the values within the
character vector named as 'end'. After removing the hyphen I need to
get the last
number from the cells where there are year range values i.e if the
cell has range 1996-2007, the code
2016 Apr 25
1
Please assist -- Unable to remove '-' character from char vector--
...nd<-c("2001-","1992-","2013-","2013-","2013-","2013-",
> "1993-2007","2010-","2012-","1984-1992","1996-","2015-")
> splitends<-sapply(end,strsplit,"-")
> last_bit(x) return(x[length(x)])
> sapply(splitends,last_bit)
>
> Jim
>
> On Mon, Apr 25, 2016 at 4:35 PM, Sunny Singha
> <sunnysingha.analytics at gmail.com> wrote:
>> Hi,
>> I have a char vector with year values. Some cells have single year
>> value '2001-'...