Displaying 1 result from an estimated 1 matches for "widthd".
Did you mean:
width
2008 May 08
1
variable of mathematics string not interpreted
...a file and convert them to an expression
as follows:
tt<- scan(file = fstr ,'what' ='character', sep = "");
for (iaa in 1:length(tt)) {
tt[iaa]<-do.call(expression, lapply(tt[iaa], as.name));
}
I obtained the following result:
tt =
expression(`alpha[tr]`, beta, widthD, `S[ts]^-5("[165,275]Hz")`,
`S[ts]^2("[165,275]Hz")`, `S[ts]^-5("[275,460]Hz")`,
`S[r]^2("[165,275]Hz")`,
`S[r]^-5("[275,460]Hz")`, `S[r]^3("[100,165]Hz")`,
`T[ts]^4("[165,275]Hz")`,
`T[ts]^7("[21,30]Hz")...