Displaying 4 results from an estimated 4 matches for "sekon".
Did you mean:
sekhon
2006 Jan 13
3
Can I ask for the C code inside an R function using .C?
Hello, all,
It is a general question, but I couldn't find the answer elsewhere.
I am using an R function using .C but don't understand one of its
behaviors without the C code. I am wondering the so-called 'open
source'. It doesn't include the C code together with the R function,
does it? So what I want to ask is whether it is justified, possible or
polite to ask for the C
2008 Aug 15
2
How to substitute special characters within a data frame?
Hello all,
I have a data frame in R, imported from an excel file in Swedish. The original file contains several columns that have special characters, such as \¨{a}, \¨{o}, and so on. After import such special characters are represented in the data frame by "\\345", "\\366" etc (don't ask me why). For example, a word "Hårkan" becomes ''H\\345rkan".
2006 Aug 09
1
minimization a quadratic form with some coef fixed and some constrained
Hello, all,
I had problems with an extension to a classic optimization problem.
The target is to minimize a quadratic form a'Ma with respect to vector
b, where vector a=(b',-1)', i.e., a is the expand of b, and M is a
symmetric matrix (positive definite if needed). One more constrain on b
is b'b=1. I want to solve b given M.
I tried but it seems impossible to find an analytic
2004 Aug 11
0
always NaN after some running in R, but all fine in S-plus
Hello, S-plus and R helpers,(sorry for cross-post)
I wrote some simple C code for one likelihood to be optimized (using
optim(MASS)). I use same function, same data, same starting points and same
DLL in R and S-plus for comparison. (I compiled it with 'Rcmd SHLIB
likelihood.c' and the header files of it include only R.h and math.h). While
it works quite fine in S-plus, it forever returns