Xiaobo.Gu wrote
>
> Hi,
>
> I saved the following as a UTF-8 encoded file named amberutil.r
>
> as.factor.loop <- function(df, cols){
>
> if (!is.null(df) && !is.null(cols) && length(cols) > 0)
> {
> for(col in cols)
> {
> df[[col]] <- as.fac
On Sun, Dec 11, 2011 at 5:03 PM, Prof Brian Ripley
wrote:
> On Sun, 11 Dec 2011, David Winsemius wrote:
>
>>
>> On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote:
>
>
> without following the posting guide in several respects and hence leaving us
> guessing
>
>
>>> Hi,
>>>
>>> I saved the followin
On Sun, 11 Dec 2011, David Winsemius wrote:
On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote:
without following the posting guide in several respects and hence
leaving us guessing
Hi,
I saved the following as a UTF-8 encoded file named amberutil.r
BTW, it is hard to know how you know
On Dec 10, 2011, at 10:01 PM, Xiaobo Gu wrote:
Hi,
I saved the following as a UTF-8 encoded file named amberutil.r
as.factor.loop <- function(df, cols){
if (!is.null(df) && !is.null(cols) && length(cols) > 0)
{
for(col in cols)
{
df[
Hi,
I saved the following as a UTF-8 encoded file named amberutil.r
as.factor.loop <- function(df, cols){
if (!is.null(df) && !is.null(cols) && length(cols) > 0)
{
for(col in cols)
{
df[[col]] <- as.factor(df[[col]])
}
5 matches
Mail list logo