Displaying 20 results from an estimated 466 matches for "rectifying".
2007 Aug 22
3
rectify a program of seasonal dummies matrix
Hi friends,
I would like to construct a matrix of seasonal dummies with number of rows (observations)=100. such matrix is written as follows:[1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1;1 0 0 0;0 1 0 0;0 0 1 0;0 0 0 1;etc...] . I wrote the following program:
T=100
br=matrix(0,T,4)
{
for (i in 1:T)
for (j in 1:4)
if i==j
br[i,j]=1
if else (abs(i-j)%%4==0
br[i,j]=1
else
br[i,j]=0
}
z<-br
z
but
2012 Sep 17
3
Can anyone help why the errors are coming and rectify it?
Hi Everyone,
Can anyone help why the errors are coming and rectify it?
invalid.ids <- c(1,3,5)
if (length(invalid.ids)==0) {
cat("No Errors found")
}
else {
2013 Jan 30
2
[LLVMdev] llvm compiler
hello sir,
i compiled simple c program for printing hello world using clang front
end it generates .s file successfully but while generating bit code it is
showing error as
llvm-as: test.s:5:17: error: expected 'global' or 'constant'
@.str = private unnamed_addr constant [12 x i8] c"hello world\00"
how to fix this error?
the .s file is in assembly language(not
2005 Jun 02
1
how to rectify t.test( ) error
Hi All,
I get the following error when i perform a t.test.
studentt<-apply(tlr, 1, function(x) t.test(x[2:6], x[7:11],var.equal=TRUE)$p.value)
# tlr is a table of 11 columns and 22500 rows. I am not able to post tlr due to its size.
Error in if (stderr < 10 * .Machine$double.eps * max(abs(mx), abs(my))) stop("data are essentially constant") :
missing value where
2006 Aug 24
1
ups.firmware
Hi all.
As the subject has come up. Powerware ups may contain
several cpu's and different firmware versions.
Five of them is always ordered in a specific way.
1 control panel
2 inverter
3 rectifier
4 net interface card
5 display control
So if a ups have a inverter cpu but not a control panel
it sets the firmware revision to 00.00 to the control
panel cpu, and get the version for the
2010 Nov 03
3
longer object length is not a multiple of shorter object length
Hi folks,
I'm following An Introduction to R
http://cran.r-project.org/doc/manuals/R-intro.html#R-and-statistics
to learn R.
Coming to;
2.2 Vector arithmetic
> v <- 2*x + y + 1
Warning message:
In 2 * x + y :
longer object length is not a multiple of shorter object length
What does it mean? How to rectify it? Please help. TIA
B.R.
Stephen L
2007 Sep 13
3
Voicemail in 1.4?
I got dragged away from Asterisk (somebody made me an offer I couldn't
refuse for system administration), but I'm thinking about seeing if I
can't get it deployed at my new employer. Regardless, there are two
things about older voicemail that used to annoy me:
- Dial by name. Has anyone made it so it can be first or last?
- Jump to voicemail; you used to have to actually dial the
2009 Apr 29
7
problem with nil.user
Hi all, I''ve put new code into my app so that an administrator will have
extra privileges (administer users, edit pages). The error is:
''Couldn''t find User without an ID''
So the app is looking for a logged in user when the homepage is
accessed.
Heres my code:
site/index view:
<% if is_logged_in? and logged_in_user.has_role?(''Moderator'')
2008 Apr 22
4
how to convert non numeric data into numeric?
I am having the following error in my function
function(theta,reqdIRR)
{
theta1<-theta[1]
theta2<-theta[2]
n<-length(reqdIRR)
constant<- n*(theta1+theta2)
sum1<-lapply(reqdIRR*exp(theta1),FUN = sum)
sum2<-lapply(exp(theta2 - reqdIRR*exp(theta1)),FUN = sum)
sum = sum1 + sum2
log.fcn = constant - as.numeric(sum)
result = - log.fcn
return(result)
}
*error :
2011 Jul 15
6
[LLVMdev] debug metadata incomplete for array arguments to functions?
> > This reflects the compiler's view of things correctly, but is problematic
> for a debugger. The debugger should know that arg_arr refers to a 42-element
> array and isn't just a pointer into a buffer of unspecified length. This is
> something the user would expect.
> > On the other hand, the debugger should also get the information that
> arg_arr is actually a
2011 Jan 03
3
optimize
Hi all,
I'm trying to get the value of y when x=203 by using the intersect of
three curves. The horizontal curve does not meet with the
other two. How can I rectify the code below?
Thanks
Muhammad
ts <- 1:10
dd <- 10:1
ts <- seq(200,209,1)
dd <- c(NA,NA,NA,NA,1.87,1.83,1.86,NA,1.95,1.96)
plot(ts,dd,ylim=c(1.5,2))
abline(lm(dd~ts),col="blue",lty=2)
2009 Oct 04
3
Problem using ActiveRecord find with :joins and :select
Hi guys,
When I do:
temp = User.find(:all,
:joins => "INNER JOIN contents ON users.agent_id =
contents.id",
:select => "contents.id, users.id, users.u_date")
temp.first.inspect
It seems to work fine, but it only returns:
#<User id: 6, u_date: "2009-10-03 19:32:23">
but not the contents.id information.
I
2014 May 29
2
[LLVMdev] Problem in LLVM build 3.4
...empty ProjObjRoot variable. Stop.
make[2]: Leaving directory `/home/iiitd/build/projects/compiler-rt-3.4'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/iiitd/build/projects'
make: *** [all] Error 1
but when I check the files are in correct place. Can someone please help me
rectifying this error.
Thanks,
Madhvi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140529/439b2952/attachment.html>
2006 Jul 31
2
Indexing a lot of records
When trying to index a rather large database of records (50,000),
acts_as_ferret takes a long time, then invariably times out and all the
index information isn''t created.
Does anyone know how to rectify this?
--
Posted via http://www.ruby-forum.com/.
2008 Feb 26
3
[LLVMdev] LLVM test fails with "gnu/stubs-32.h: No such file or directory"
Subject says it all.
Looking in /usr/include/gnu, I find stubs-64.h and stubs.h, but no
stubs-32.h.
This is probably related to my machine running a 64-bit install of
Ubuntu. I'm not sure whether this should be rectified in Ubuntu or LLVM.
Regards,
Jo
2018 Sep 08
2
CentOS 6.10 Boot Xorg Issues with Kernels 2.6.32-754
Hello,
Ever since I updated my CentOS 6 machine from 6.9 to 6.10 Xorg will not
start with the 2.6.32-754 kernels. Instead the computer will reboot. This
issue does not exist with the 2.6.32-696.30.1 kernel from CentOS 6.9 that I
still have on my system.
Has anyone else encountered this issue, and if so, how did you rectify it?
Thank you for any help.
Brian Bernard
2006 Jul 10
2
''uninitialized constant'' error
Hi All,
I am fairly new to Ruby and backgroundRB. I am trying to run a simple example in Windows to get my feet wet with backgroundRB and am running into an ''uninitialized constant'' error when I invoke the controller on my rails app.
In ''MyTest'' Controller
-------------------
def longrun
session[:job_key] = MiddleMan.new_worker(:class =>
2002 Nov 15
3
apparent ssh_config fascism
It appears that /etc/ssh/ssh_config enforces policy on local users in
addition to its documented role as provider of defaults.
$ ssh -V
OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f
$ cat .ssh/config
Host localhost
HostbasedAuthentication yes
PreferredAuthentications hostbased
$ ssh localhost
Hostbased authentication not enabled in /etc/ssh/ssh_config
ssh_keysign: no reply
2005 May 20
2
comparing a vactor of values in IF statement.
Hi,
my vector V<- c(1,0.5,0.06,0.056,0.01,0.04,0.4,0.9,0.82,0.1)
if( V > 0.5) { V <- 1 - V }
I get a warning saying only the first element will be used in comparing (if V > 0.5).
However, my results tell me vis-versa ,it actually compares every element of the vector V with 0.5 and that is waht i want it to do.
Using a for loop is expensive and time consuming since my actual
2008 Aug 05
2
Opening R from Tinn without setting directory each time
Hi - I can access R from Tinn-R by going to Options->Main->Application/R and
setting the search path, but each time I exit Tinn-R I have to redefine the
search path. Is there no way of fixing that directory as default? I have
installed R under its default directory C:/Program Files/R/R-2.7.1 and Tinn
under a variety of different places to try to rectify the problem though
currently under