salve, sto lavorando con un codice SAS in cui compare l'utilizzo di 'matchnum' per la definizione di un parametro:
b=j(1,matchnum,0);
qualcuno sa come interpretare questa riga?
all'interno del codice non fa riferimento a niente, è a se stante, vorrei sapere se matchnum è una funzione che vi è nota.
Grazie
Given the fact that the number of Italian-writing posters here is very limited (and I don't know if any of the usual "solvers" understand Italian at all), but basically all do read/write English, I suggest you re-post your question in English.
There is no matchnum function or parameter as far as I know, nor can I find any information on it. By its use it looks like a dataset variable name, however what the j() function is I don't know, could it be an array? Maybe post more of the code so we can see it in context.
I'm guessing this line of code is part of an IML Procedure since the J Function is part of the SAS/IML language 🙂 you can read about it at the documentation page
and in the article
How the J function got its name
In your case, you define a matrix with 1 row and matchnum columns of zeros, ie. a row vector of zeros.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: