similar to: dimension trouble for a matrix

Displaying 20 results from an estimated 7000 matches similar to: "dimension trouble for a matrix"

2009 Jul 22
1
strange behavior of system command
Dear R People: I'm running from R to a grid computer and getting some unusual results with the system command: > e7 <- system("globus-job-run xxxxx /bin/sh -c 'cd $OSG_APP/engage;chmod 777 oops'",intern=TRUE) chmod: changing permissions of `oops': Operation not permitted > e7 character(0) > I xx'ed out the site name. Anyhow, I would expect that the e7
2008 Feb 07
2
a kinder view of Type III SS
A young colleague (Matthew Keller) who is an ardent fan of R is teaching me much about R and discussions surrounding its use. He recently showed me some of the sometimes heated discussions about Type I and Type III errors that have taken place over the years on this listserve. I'm presumptive enough to believe I might add a little clarity. I write this from the perspective of someone old
2006 Mar 15
1
(newbie) Weighted qqplot?
Folks, Normally, in a data frame, one observation counts as one observation of the distribution. Thus one can easily produce a CDF and (in Splus atleast) use cdf.compare to compare the CDF (BTW: what is the R equivalent of the SPlus cdf.compare() function, if any?) However, if each point should not count equally, how can I weight the points before comparing the distributions? I was thinking of
2008 Oct 30
1
package pls
Hi, For the package "pls", I need to understand the algorithm for "simpls.fit" for Partial Least Squares. I'm not sure if simpls.fit tries to find the weight vectors (loadings) to maximize which of the two: Cov(Xw, y) or maximize Cov^2(Xw,y)? Are these objective functions equivalent? (in some texts, they use the first and in other texts, they use the second obj.
2017 Nov 24
2
number to volume weighted distribution
Hi Duncan I tried Ecdf and/or wtd.quantile from Hmisc and it is working (probably). Ecdf(x, q=.5) Ecdf(x, weights=xw,col=2, add=T, q=.5) wtd.quantile(x) 0% 25% 50% 75% 100% 10 10 10 100 300 wtd.quantile(x, weights=xw, type="i/n") 0% 25% 50% 75% 100% 10.0000 138.8667 192.5778 246.2889 300.0000 But could you please be more specific in this? >
2017 Nov 24
0
number to volume weighted distribution
Hi Petr, I think that Duncan suggests something like this: x<- c(rep(10,20), rep(300,5), rep(100, 10)) tx <- table(x) prop.x <- tx / sum(tx) vx <- as.integer(names(tx)) prop.wx <- tx * vx / sum(tx * vx) plot(ecdf(x)) plot(vx, cumsum(prop.x), ylim = 0:1) plot(vx, cumsum(prop.wx), ylim = 0:1) Best regards, Thierry ir. Thierry Onkelinx Statisticus / Statistician Vlaamse
2006 May 09
3
What does this mean?
def cas casses = [@cas.ss,@cas.s,@cas.xl,@cas.l,@cas.m,@cas.w,@cas.xw] casses.each do |cas| if cas >= 10 @user.send(cas) -= 1 @user.save! end end my error: app/controllers/battle_controller.rb:383: parse error, unexpected tOP_ASGN, expecting kEND @user.send(cas) -= 1 ^ app/controllers/battle_controller.rb:388: parse error, unexpected $, expecting kEND -- Posted via
2006 Feb 09
2
nice log-log plots
Dear All, I am trying to produce log-log plots in R and I was wondering if any of you have a 'template' for generating these with 'nice' labels and log-log grids? I know I can set up axes individually and use the intervals I want, however, I will be producing a large number of these plots and would not like to do this manually for each of them + I am very new to R and at the
2006 May 08
2
Making a array to use with @user.
Hi all, I made this array: @army_types = ["ss","s","xl","l","m","w","xw"] but, I want to be able to go like this @army_types.each do |st| @user.st end but, I get the error that "@user.st" st is not a valid feild for the table user. Is there a way to get around MySQL running it first? -- Posted via
2006 May 12
1
Some error about adding.
Ok so I''m trying to make a little exchange 3 for 1 of 1 higher rank here is the code in the controller: def exch_link @id = @session[:user].id @type = @params[:type] exch(@id,@type) end def exch(user_id,this_type) @user = User.find(:condtions => "id = " + user_id) @ranks =
2017 Jun 29
1
NUT supporting Modbus TCP
Yeah, I have its datasheet (it's a Xantrex XW invertor by the way). I do not know why creating a more-or-less generic driver is an issue. Of course, there are Modbus beasts that can scare everyone but mostly one would need to read either intreger or float numbers out of Modbus registers in order to decide whether or not to start or stop the shutdown process. 24 ???? 2017 ?. 19:25:14
2006 Oct 25
2
[PATCH] Edge buttons
Here are my patches to add edge + button functionality. I still feel that there is a problem with gconf, but I have just made it so that the edge button functionality works. I have included a patch for gconf to display AnyButton if it is set to 0. There is also a patch to make the edge size configurable because 1 pixel was too small and the mouse keeps slipping off when using it for the
2005 Jun 26
1
Re: Shorewall-users Digest, Vol 31, Issue 48
On Friday 24 June 2005 20:57, Derek Vincent wrote: >>Hello all, >> >>I have shorewall setup with 3 SNAT entries for external IP address''s to >>a single IP internal address. I am wondering how to limit access based >>on the source IP address. >>ex. >> EXT IP 1 access only to port 25 >> EXT IP 2 access only to port 443 >> EXT IP 3
2007 Jul 04
1
Calling C Code from R
Hi R Users, Thanks in advance. I am using R-2.5.1 on Windows XP. I am trying to call C code (testCX1.C) from R. testCX1.c calls another C code (funcC1.c) and returning a value to testCX1.c. I like to have this value in R. My steps are below: 1. R CMD SHLIB testCX1.c funcC1.c (at command propmt) 2. It creates testCX1.dll with warning (but testCX1.dll works):
2009 May 29
3
Why change data type when dropping to one-dimension?
Hello, First, let me say I'm an avid fan of R--it's incredibly powerful and I use it all the time. I appreciate all the hard work that the many developers have undergone. My question is: why does the paradigm of changing the type of a 1D return value to an unlisted array exist? This introduces boundary conditions where none need exist, thus making the coding harder and confusing. For
2017 Nov 24
0
number to volume weighted distribution
On 24/11/2017 6:27 AM, PIKAL Petr wrote: > Dear all > > Strictly speaking it is not R question but as you are the most capable persons I know I give it a try. > > I am strugling with recalculation of number weighted to volume weighted distribution. > > Suppose I have objects (cubes) with size > > x<- c(rep(10,20), rep(100, 10), rep(300,5)) > I can get >
2006 May 04
6
Login generator ALWAYS says login unseccesfull
Hey I just ran this "ruby script/generate login loging_in" here is my SQL: CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `user_name` varchar(80) default NULL, `login` varchar(120) NOT NULL default '''', `last_update` timestamp NOT NULL default ''0000-00-00 00:00:00'', `last_attack` timestamp NOT NULL default ''0000-00-00
2008 Mar 25
3
derivatives in R
Hi, I posted this message earlier in "Rmetrics" and I don't know whether I posted in the wrong place, so I'm posting it again in Rhelp. I have a function in x and y and let's call it f(x,y). I need to get the Hessian matrix. i.e I need (d^2f/dx^2), (d^2f/dxdy), (d^2f/dydx), (d^2f/dy^2).I can get these using the D function. now I need to evaluste the hessian matrix for
2019 Feb 18
0
Dsync and network issues
Hi. Our scenario: dovecot-2.3.4.1 Two FreeBSD servers, A (master) and B (slave). replication_max_conns = 10 doveadm_port = 60025 All mails are received on server A and replicated to server B. Sometimes we get these messages on server B: Feb 18 08:27:35 dsync-server(XX at XX): Error: client_connection_tcp_free: close((&conn->fd)) @ client-connection-tcp.c:632 failed
2017 Nov 24
2
number to volume weighted distribution
Dear all Strictly speaking it is not R question but as you are the most capable persons I know I give it a try. I am strugling with recalculation of number weighted to volume weighted distribution. Suppose I have objects (cubes) with size x<- c(rep(10,20), rep(100, 10), rep(300,5)) I can get plot(ecdf(x)) or the number weighted average mean(x) [1] 77.14286 or volume weighted average