Displaying 20 results from an estimated 10000 matches similar to: "Struchture change of a data frame"
2003 Apr 01
1
Nlminb equivalent function in R?
Hello everybody
I need some help. Currently, I'm translating a code from Splus to R. In Splus code there is the function nlminb (Nonlinear Minimization subject to Box Constraints) used. Does anybody know an equivalent function in R?
Thanks for help
Kind regards,
Beat Huggler
_____________________________________________
Beat Huggler
Quantitative Analysis
RMF Investment Management
2002 Feb 06
1
Probblems with loading the tcltk library
Hi guys
Recently a wanted to look at the opotunities which are suported by the
labrary of tcltk. Unfortunatly I couldn't load the library and it
occured the following error message:
Error in firstlib(which.lib.loc, package) :
TCL_LIBRARY is not set
Error in library(pkg, character.only = TRUE) :
.First.lib failed
I've tried to load it in sveral ways. I reinstalt the
2002 Mar 21
0
RODBC
Hi guys
I'm working with with R1.4.1 on windows
I'm trying to import data from the ODBC (Access database) with the
library RODBC. Every thing works perfect except that the dates are
factors.
> library(RODBC)
> xx <- odbcConnect("grave_liv")
> dat <- sqlQuery(xx,"SELECT All_MONTHLY.ID, All_MONTHLY.Date,
All_MONTHLY.RoR FROM (Reasons INNER JOIN
2004 Sep 15
6
Bessel function
Dear all
Currently, I'm implementing the generalized hyperbolic distribution into
Splus. Unfortunately the Bessel function is not implemented in Splus. In
R the Bessel function does exist but it is an internal function and I'm
not able to look at the code.
Is there any possibility to see the code of the Bessel function in R or
does anybody has an implementation of the Bessel function in
2010 Jul 20
1
[LLVMdev] Rendering MachineFunctions as HTML.
Hi All,
I've developed a pass to render machine functions as HTML pages with some
accompanying information about liveness and register pressure.
Current features:
Renders machine functions, optionally displaying estimated register pressure
for selected register classes, and liveness for selected intervals.
The following command line options can be used to enable and customise the
2006 Jul 14
1
regarding filtering the data
Hi all
a very happy greeting to you all.
i have just joined the list, i am newbie in R and this is my first message
( before this i was a member of Linux kernel mailing list) and hence i
woulk like to add that i know how to behave in the mailing lists.
I have a data something like this which i am reading from a csv file using
read.table (Is there any difference between read.csv and read.table
2001 Mar 05
0
Portable openssh-2.5.1p1, auth-passwd.c, yellow pages, expire field
Hi,
I'm having trouble with auth_password() failing on my linux box using
yellow pages. I've tracked the problem down to the following:
pw_password = "RMf.YivanoZc2,o01N"
encrypted_password = "RMf.YivanoZc2"
This fails on the return(strcmp(encrypted_password, pw_password) == 0).
because crypt() only returns 13 characters. I seem to remember the
2016 Apr 26
2
Linear Regressions with constraint coefficients
Ok, and if I would just like to force my slope coefficients to be inside an interval, let's say, between 0 and 1? Is there a way in R to formulate such a constraint regression?
Thanks in advance and kind regards,
Aljosa
Aljosa Aleksandrovic, FRM, CAIA
Quantitative Analyst - Convertibles
aljosa.aleksandrovic at man.com
Tel +41 55 417 7603
Man Investments (CH) AG
Huobstrasse 3 | 8808
2016 Apr 26
5
Linear Regressions with constraint coefficients
Hi all,
I hope you are doing well?
I?m currently using the lm() function from the package stats to fit linear multifactor regressions.
Unfortunately, I didn?t yet find a way to fit linear multifactor regressions with constraint coefficients? I would like the slope coefficients to be all inside an interval, let?s say, between 0 and 1. Further, if possible, the slope coefficients should add up to
2016 Apr 26
0
Linear Regressions with constraint coefficients
Have you tried web searching on " R constrained linear regression" or
similar. There seemed to be resources related to your issues when I
looked. You might also search on rseek.org . There are apparently
several packages that do regression with constraints, but I don't know
if they fit your situation.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that
2016 Apr 26
1
Linear Regressions with constraint coefficients
If the slope coefficients sum to a constant, the regressors are
dependent and so a unique solution is impossible (an infinity of
solutions would result). So I think you have something going on that
you don't understand and should consult a local statistician to help
you formulate your problem appropriately.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people
2016 Apr 28
2
Linear Regressions with constraint coefficients
Hi Gabor,
Thanks a lot for your help!
I tried to implement your nonlinear least squares solver on my data set. I was just wondering about the argument start. If I would like to force all my coefficients to be inside an interval, let?s say, between 0 and 1, what kind of starting values are normally recommended for the start argument (e.g. Using a 4 factor model with b1, b2, b3 and b4, I tried
2016 Apr 28
0
Linear Regressions with constraint coefficients
The nls2 package can be used to get starting values.
On Thu, Apr 28, 2016 at 8:42 AM, Aleksandrovic, Aljosa (Pfaeffikon)
<Aljosa.Aleksandrovic at man.com> wrote:
> Hi Gabor,
>
> Thanks a lot for your help!
>
> I tried to implement your nonlinear least squares solver on my data set. I was just wondering about the argument start. If I would like to force all my coefficients to
2016 Apr 26
0
Linear Regressions with constraint coefficients
This is a quadratic programming problem that you can solve using
either a quadratic programming solver with constraints or a general
nonlinear solver with constraints. See
https://cran.r-project.org/web/views/Optimization.html
for more info on what is available.
Here is an example using a nonlinear least squares solver and
non-negative bound constraints. The constraint that the coefficients
sum
2011 Apr 17
2
2.0.12 ipwd.c does not compile under solaris
the new src/lib/ipwd.c introduced in 2.0.12 no longer compiles on
solaris. Under solaris,
the *_r routines doesn't pass in result as the last parameter and return
errno - it just returns result.
obviously a job for configure.....
--
Roger Fujii<rmf at lookhere.com>
2012 Jan 04
6
Combining characters
Hi all,
I'm trying to combine exhaustively several character arrays in R like:
x=c("one","two","three")
y=c("yellow","blue","green")
z=c("apple","cheese")
in order to get concatenation of
x[1] y[1] z[1] ("one yellow apple")
x[1] y[1] z[2] ("one yellow cheese")
x[1] y[2] z[1]("one blue
2010 Nov 02
1
Colour filling in panel.bwplot from lattice
Inspired by colouring the dots of box-whisker plots I am trying to also
fill the boxes (rectangles) with different colours. This seems not to
work as I expected.
Looking at the help page of panel.bwplot it says: 'fill - color to fill
the boxplot'. Obviously it is only intended to fill all boxes with only
one colour?
Nevertheless the following example shows, that 'fill' from
2012 Mar 16
2
contingency tables
Ok, before I definetly give up, and throw the laptop out of the window, or
fill my data.frame manually, I'll ask for some help.
I have a data.frame named MyTable with 3 columns, that looks like this:
V1 V2 V3
red-j appearanceblood-n 105.032
red-j appearanceground-n 93.749
red-j appearancesea-n 102.167
red-j appearancesky-n 10.898
2004 Jun 20
1
Fw: Evaluating strings as variables
----- Original Message -----
From: Robin Gruna
To: R-help@lists.R-project.org
Sent: Sunday, June 20, 2004 5:42 PM
Subject: Evaluating strings as variables
Hello,
I have the following problem: I have a list as follows,
> values <- list(red = 1, yellow = 2, blue = 3)
> values
$red
[1] 1
$yellow
[1] 2
$blue
[1] 3
There is also a vector containing the diffrent "colors" as
2005 Jul 27
3
Asymmetric colors for heatmap
> Dear expeRts,
>
> Currently, my colors are as follows:
> mycol <-
> c("blue1","blue2","blue3","blue4","black","yellow4","yellow3","yellow2","y
> ellow1")
> heatmap(snp, Rowv=NA, Colv=NA, col=mycol)
>
> However, I would like to have the following colors:
> bright blue ->