That's exactly what I wanted, thank you very much!
My intent was to perform the SubStr operation first, and then apply the
types to the columns. I wasn't expecting the two types in the same column.
I appreciate your response!
On Tue, Feb 10, 2015 at 5:03 PM, David Winsemius
wrote:
>
> On Feb 1
On Feb 10, 2015, at 3:58 PM, Brian Trautman wrote:
> Hi!
>
> I'm trying to write a custom function that applies SubStr to a string, and
> then depending on the arguments, converts the output to a number.
>
> The substring part of my code works fine, but it's not converting the way I
> want to -
Hi!
I'm trying to write a custom function that applies SubStr to a string, and
then depending on the arguments, converts the output to a number.
The substring part of my code works fine, but it's not converting the way I
want to --
options('stringsAsFactors'=FALSE)
require(data.table)
substr_ty
3 matches
Mail list logo