Displaying 20 results from an estimated 80 matches similar to: "continuous independent variable in lme"
2002 Jun 19
2
solve() doesn`t work
Hi,
I tried to inverse a matrix but it doesn`t work. I hope somebody can help
me. This is what I did.
> kurse <- read.table("kurse.txt", header=T, dec=",")
> x <- cbind(1,kurse[,-c(1)])
> y <- kurse$index
> t(x) %*% x
Error in t(x) %*% x : requires numeric matrix/vector arguments
> x <- as.matrix(x)
> xtxi <- solve(t(x) %*% x)
Error in
2011 Sep 07
1
reshaping data
I have the following data (see RawData using dput below)
How do I get it in the following 3 column format (CO2 measurements are the
elements of the original data frame). I'm sure the package reshape is where
I should look, but I haven't figured out how.
Thanks ahead of time
Month Year CO2
J 1958
F 1958
M 1958 315.71
A 1958 317.45
M.1 1958 317.5
J.1 1958
J.2 1958 315.86
A.1 1958
2011 May 06
2
Confidence intervals and polynomial fits
Hi all! I'm getting a model fit from glm() (a binary logistic regression fit, but I don't think that's important) for a formula that contains powers of the explanatory variable up to fourth. So the fit looks something like this (typing into mail; the actual fit code is complicated because it involves step-down and so forth):
x_sq <- x * x
x_cb <- x * x * x
x_qt <- x * x * x
2004 Jun 28
2
Would this work?
I am trying to implement a rollover of extensions.
exten => 3000,1,GotoIf($[${line1} = Congestion]?3:2)
exten => 3000,2,Dial(${line1},15,rt)
exten => 3000,3,GotoIf($[${line2} = Congestion]?5:4)
exten => 3000,4,Dial(${line2},15,rt)
exten => 3000,5,GotoIf($[${line3} = Congestion]?7:6)
exten => 3000,6,Dial(${line3},15,rt)
exten => 3000,7,GotoIf($[${line4} = Congestion]?1:8)
2010 Mar 16
2
Is there a way to edit a specific line in a function (e.g: doing function->text->edit->function) ?
Hello,
Let's say we have the following function:
foo <- function(x)
{
line1 <- x
line2 <- 0
line3 <- line1 + line2
return(line3)
}
And that we want to change the second line to be:
line2 <- 2
How would you do that?
The two ways I know of are either to use
fix(foo)
And change the function.
Or to just write the function again.
Is there
2006 Mar 25
2
Textilize problems with line breaks
I''m having a problem formatting some text. I have a textarea that I
input my text into, which will then be put into an e-mail and sent out.
The problem I am having is when there is a single line break.
Multiple line breaks work fine (hitting enter twice), but single line
breaks don''t seem to work properly.
Take the following input:
Line1.
Line2.
Line3.
Line4.
Using
2004 Mar 10
1
coreutils-4.5.3-28 causing duplication?
Here's a bit of a strange one. I hunted through the ocfs-users archives,
but didn't see any mention of this, so here goes...
Using coreutils 4.5.3-27 on RHAS 3, the utilities perform as expected
against non-OCFS volumes:
$ rpm -q coreutils
coreutils-4.5.3-27
# cat a 3 line test file. Works as expected
$ cat /var/tmp/file
line1
line2
line3
# copy that file. Works as expected
$ cp
2012 Feb 16
3
Graphing lines of different lengths
Hello all.
I need to graph multiple lines of different lengths on the same graph. When I try to add lines I get an error due to different lengths. The only thing I could find when reading up on it was that 'if the data are inputted separately they must be of the same length'.
Could someone please let me know how to input the data together?
Thanks for any help,
Jordan
2007 Apr 02
5
Aastra 480 i
Getting "no service" display on aastra 480i. Sip debug shows an "unathorized" blub when the aastra tries to register.
Some reading indicates that 1.4 firmware wants aastra.cfg and mac.cfg in /tftpboot/. There are none.
Anyone have basic config files? Or can point me to a good link? All links I have tried, that purport to have config files, are either dead or error out.
2006 Sep 28
1
help on plots
Dear friends,
I met a problem on plotting.
My dataset is :
year MHBC LHBC MHRC LURC
1993 11.75 4.50 0.43 0.46
1994 7.25 1.25 0.35 0.51
1995 8.67 2.17 0.54 0.44
1996 2.67 1.33 0.78 0.47
1997 3.42 4.92 0.69 0.48
1998 1.92 3.08 0.72 0.54
1999 2.33 2.58 0.74 0.41
2000 5.75 4.50 0.45 0.50
2001 3.75 4.42 0.52 0.47
2002 2.33
2006 Jan 31
3
Individual SIP account how to make it Trunk
Hi,
i have diffirent provider example(3 single account in deltathree, 4
account in packet8 and so on) . How this possible to make the three
individual sip account in deltathree act as trunk so that i cannot get a
busy call. If line one fail goto line 2 then line 3 or another trunk
line 1 then line 2 then line3....I read it in asterisk at home but the
script i am copying is not working .
2009 Dec 27
4
how to create a simple loop ?
I have a 5-row matrix called “data”. There are headers.
it look like this :
Row 1 Row2 Row3 Row4 Row5
Line1 … … … …
Line2 … … … …
Line3 … … … …
…
Line 1838 … … … …
I want to calculate several simple arithmetic means for Row5, that
2005 Jan 28
2
IP Phone for IP PBX
Hi All;
Asterisk is IP PBX, so there should be special IP Phones to be used with
this IP PBX and this IP Phone should has special buttons working with
Asterisk IP PBX, like: Line1, Line2, Line3, ... Line8 (these to be able to
capture direct PSTN lines), also a button for Hold and transferring for
another extension ... So can some one advise me which is the recommended IP
Phone to be used with
2009 Nov 26
1
Barplot with confidence intervals
I have a file in the following format:
Scenario1 Scenario1CIL Scenario1CIU Scenario2 Scenario2CIL Scenario2CIU
60 57 62 45 48 50
110 101 111 51 50 52
120 117 122 64 62 66
192 190 194 79 75 79
where:
First column = Scenario1 mean value
Second column = Scenario1 Low Confidence Interval
Third column = Scenario1 Upper Confidence Interval
Fourth column = Scenario2 mean value
Fifth column =
2011 Nov 08
2
nesting scale_manual caracteristics in ggplot
Hi there,
I am having a little problem with combining three scale_manual commands in a
facet plot. I am not able to combine the three different characteristics,
instead ending up with three different descriptions next to the graph for
the same geom. I would like to see two separate labels (not three); one
describing lines 1-7 and the other 8-14. For each of the treatments (A-B) I
want a
2005 May 09
1
Interfacing AT&T Spirit System to Asterisk
Greetings,
Does anyone know if there is a cost effective way to interface an
older AT&T Spirit system into Asterisk.
I'm only interested in A) being able to offer voicemail and B)
possibly an AAT to callers.
I've thought about just stringing the FXO cards into the line1/2 slots
that go into the Spirit system... asterisk would pickup if no one
answered the Spirit phones....
however....
2010 Jun 29
0
Migrating from key system to asterisk
I currently have 4 lines coming into the house. We currently have an Avaya standard analog key system which has served us well, but running extensions is a major pain and requires a dedicated run per extension. I have ethernet run throughout the house though.
The first two lines are "home" lines, however line1 I use for my consulting during the day, and line2 is used by my wife for
2009 Sep 18
0
missing values at a combination of two factors
Dear All,
I have two factors: GROUP and PATIENT, where PATIENT is nested within
GROUP.
>levels(example$GROUP)
[1] "0" "1" "2" "3" "4"
> levels(example$PATIENT)
[1] "1" "2" "3"
There are three observations at each combination of these factors.
However, there are no observations for PATIENT = 3 and GROUP
2004 Jan 13
0
inbound call routing problem - RESOLVED
Thanks we just figure it out a bit ago. It's amazing how simple some
things are when you just ask - and then realized that you were making it
too hard to begin with!! :-)
Lane Hoskins, MCP
Network Engineer
540.767.7626
-----Original Message-----
From: Jared Smith [mailto:jsmith@drgutah.com]
Sent: Tuesday, January 13, 2004 10:59 AM
To: asterisk-users@lists.digium.com
Subject: Re:
2005 Aug 29
1
Call waiting setup/Confenencing problems in AAH
Hello
I have couple issues with AAH. 1.5
1. Flash panel doesn't show proper status. Sometime accessing with IP
seems to work and it shows current line status etc. Sometimes accessing
with hostname of the asterisk server seems to show lines, but it doesn't
show off hook etc when we pickup a extension and talk.
In /var/www/html/panel/op_server.cfg I have tried setting manager_host
to all