No specific experience of the package you are using, but you have
> as.character(nwCorp1)
This does nothing to nwCorp1; it just returns a character version of it to the
console. If it was not the right kind of object you can expect later commands
to throw errors.
Perhaps you meant
nwCorp1 <- a
That looks to me like a rather basic misunderstanding of how R syntax works.
You might want to have a look at the documentation of as.character(), and read
about its return value. Then note that you are not assigning the return value
to anything.
To wit:
a <- 5
mode(a)
as.character(a)
mode(a
2 matches
Mail list logo