SPSS Statistics

 View Only
  • 1.  Custom Dialog Builder - SPSS Modeler

    Posted Mon July 20, 2020 11:31 AM

    Hello,

    I am trying to create a CustomNode using two features - Field Chooser and Combo box. The goal is to enable a user choose a variable/ column (Field Chooser) from input data a then from that column select one value (Combo box/ List box). Such value should be process forward in some output table etc. I am able to program the first step (select a column) however I still struggle with value choose because every time I want to select a value from list I constatntly see a column name.

    My R code is shown below:

    aa <-modelerData

    dane<-aa[,c("%%INPUT%%")]

    names(dane) <- "Variable"

    dane<-dane[dane$%%INPUT%%=="%%VALUES%%",1]

    modelerData <- data.frame(dane)

    m2 <- c(fieldName="Variable",fieldLabel="",fieldStorage="string",fieldMeasure="",fieldFormat="",fieldRole="");

    modelerDataModel <- data.frame(m2)

    Does anyone could help ?



    ------------------------------
    Filip Fraczek
    ------------------------------

    #SPSSStatistics


  • 2.  RE: Custom Dialog Builder - SPSS Modeler

    Posted Tue September 29, 2020 01:02 PM
    This forum is for SPSS Statistics. Please post SPSS Modeler inquiries to https://community.ibm.com/community/user/watsonstudio/communities/community-home.

    ------------------------------
    Brent Gardiner
    ------------------------------