Skip to Content
author's profile photo Former Member
Former Member

Titanic Example - R-Apriori

Hey,

I would like to analyze some Data from a Titanic Example. First of all, I loaded the data into SAP Predictive Analyses. Afterwards I filtered out some needless Data (e.g. Age = NA).

Then I selected the R-Apriori Algorithm. I made some settings, and run the analysis. After I ran the analysis, I got the following error.

An error occurred while executing commands in the R environment.Error from R:

"Error in asMethod(object) :

column(s) 5 not logical or a factor. Use as.factor or categorize first.

"

Does somebody now this error?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 06, 2014 at 11:41 AM

    Hi Kevin,

    Thanks for posting.

    There is a guide that show how to do a step-by-step analysis with the Titanic data.

    Click link:

    Guide: SAP Predictive Analysis - how to perform an association analysis using data from the Titanic accident.

    Best regards,

    Kurt Holst

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2014 at 11:22 AM


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.