Bob,
>> Does anybody know how to eliminate the double quotes so that I can use
>> the
>> variable name (generated with the paste function) further in the code...
?noquote should do it.
##
> "varName"
[1] "varName"
> noquote("varName")
[1] varName
Regards, Mark.
--
View this message in contex
Hi Bob,
You can use the get() function to loopup a variable name.
> long.variable.name <- 5
> "long.variable.name"
[1] "long.variable.name"
> get("long.variable.name")
[1] 5
However, I think this is all overkill. Assuming
extractModelParameters() came from the MplusAutomation package, and
that
Hi,
I'm generating the name of the variable with paste function and then using that
variable name further to get the specific position value from the data.frame,
here is the snippet from my code:
modelResults <- extractModelParameters("C:/PilotStudy/Mplus_Input/Test",
recursive=TRUE)
#extract
3 matches
Mail list logo