Displaying 19 results from an estimated 19 matches for "new3".
Did you mean:
new
2012 May 12
1
problem with get() inside of lme()
Hi,
In the following lines of code are inside of a function, where "TRAIT1" is
a function variable calling a column-name inside of the data.frame "new3".
This works just fine:
m2 <- lmer(get(TRAIT1) ~ perm.score + (1|site), data=new3)
but this will not work,
m3 <- lme(get(TRAIT1) ~ perm.score , random= ~1|site, data=new3)
I get the following error:
Error in model.frame.default(formula = ~TRAIT1 + perm.score + site, data =
list(...
2010 Jun 01
1
loop
Can any one help it will be very kind, loop statements
I have this table and some more records, I want to reshape it
V1 V2 V3 V4 V5 V6 V7 V8 V9 V10
TP53 Dis1 Dis2 Dis3 Dis4 Dis5 Dis6
DCI New1 New2 New3 New4
FDI Hi2 H3 H4
GHD I1 I3 I4 I5 I6 I7 I8
I want my new table or matrix to be some thing like this
V1 V2 V3
Tp53 Dis1 Dis2
Tp53 Dis1 Dis3
Tp53 Dis1 Dis4
Tp53 Dis1 Dis5
Tp53 Dis1 Dis6
Tp53 Dis2 Dis3
Tp53 Dis2 Dis4
Tp53 Dis2 Dis5
Tp53 Dis2 Dis6
Tp53 Dis3 Dis4
Tp53 Dis3 Dis5
Tp53 Dis3 Dis6
Tp53 Di...
2011 Oct 11
2
Creating the mean using algebra matrix
Dear all,
I wanted to create the mean using a algebra matrix.
so I tried this one:
> meanAnimals <- new3%*%factorial
(Calculates the matrix multiplication of the new3 * factorial).
But I get the following error message:
Error in new3 %*% factorial : non-conformable arguments
These are my matrices:
> new3
[,1] [,2]
[1,] 1.350 8.1
[2,] 465.000 423.0
[3,] 36.330 1...
2009 Jul 30
1
lmer() and "$ operator is invalid for atomic vectors"
...<- factor(Subject)
Age <- factor(age.o_1,levels=c("0","1"),labels=c("young","old"))
Item <- factor(Item.l2_2,levels=c("1","2"),labels=c("lamda1","lamda2"))
new2<-data.frame(lamda, Subject, Age, Item)
new2
new3 <- na.omit(new2)
new3
new4=as.data.frame(new3)
> (lmer.lamda <- lmer(lamda ~ Age*Item + ( 1 | Subject), lamda, data=new4))
Error in family$family : $ operator is invalid for atomic vectors
Here are the first 25 values of the dataframe lmer() should operate on:
lamda Subject Age...
2010 Mar 03
1
End of line marker?
...ure the character is there by
chance but I fear that it might be present in some other big files I have to
work with as well. So, is there any clever way to remove this inconvenient
character in R avoiding having to edit the file in notepad and remove it
manually?
Code I am using:
read.csv("new3.dat", header=F)
Warning message:
In read.table(file = file, header = header, sep = sep, quote = quote, :
incomplete final line found by readTableHeader on 'new3.dat'
I am working with R 2.10.1 in windows XP.
Thanks in advance
Jonas
[[alternative HTML version deleted]]
2008 Jul 09
2
sorting a data frame by rownames
...1")
#put it back together; in my case, pull out the parts of the list generated
by the loop that hold the data
newdat<-rbind(sub3, sub2, sub1)
#rebuild it such that it can be re-organized into it's original order
rn<-as.numeric(row.names(newdat))
new2<-data.frame(newdat, rn)
new3 = new2[do.call(order, new2["rn"]), ]
######################
It's those last three lines of code that I'm sure are unnecessary; why
include a column of information for something that's already there? However,
most of the posted solutions to sorting of data frames have to do w...
2006 Apr 26
5
Best way to split forms into steps?
I have a form with about 30+ fields, which the client is wanting to
separate into 3 pages/steps - just wondering what is the best way to go
about this, specifically remembering data entered, from one page to
another, and making sure the various bits of data are validated
correclty, error messages outputted etc etc...
is there a best practice method for doing this?
--
Posted via
2007 Mar 14
0
cannot delete the last column of a dataframe using "[<-" (PR#9565)
...example, but it doesn't work
for deleting the last column either:
> sw <- swiss[1:5, 1:4] # select a manageable subset
> ## adding a column
> sw["new1"] <- LETTERS[1:5] # adds a character column
> sw[["new2"]] <- letters[1:5] # ditto
> sw[, "new3"] <- LETTERS[1:5] # ditto
> sw$new4 <- 1:5
> sw$new4 <- NULL # delete the column
> (sw0 <- sw)
Fertility Agriculture Examination Education new1 new2 new3
Courtelary 80.2 17.0 15 12 A a A
Delemont 83....
2012 Oct 26
4
Merge matrices with different column names
A general question that I have been pursuing for some time but have set
aside. When finishing some analysis, I can have multiple matrices that
have specific column names. Ideally, I would like to combine these
separate matrices for a final output as a csv file.
A generic example:
Matrix 1
var1A var1B var1C
x x x
x x
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...+quiet_cmd_syscall_rel = COMPARE $@
+ cmd_syscall_rel = set -e; \
+ cmp -l $(basename $<) $< \
+ | { read off1 old1 new1; \
+ read off2 old2 new2; \
+ test $$(expr $$off1 + 1) = $$off2; \
+ echo " .long $$(expr $$off1 - 3)"; \
+ while read off1 old3 new3; do \
+ read off2 old4 new4; \
+ test $$(expr $$off1 + 1) = $$off2; \
+ test $$old1 = $$old3 -a $$new1 = $$new3; \
+ test $$old2 = $$old4 -a $$new2 = $$new4; \
+ echo " .long $$(expr $$off1 - 3)"; \
+ done; \
+ } >$@
+
+SYSCFLAGS_vsyscall-sysenter.so.alt = $(vs...
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...+quiet_cmd_syscall_rel = COMPARE $@
+ cmd_syscall_rel = set -e; \
+ cmp -l $(basename $<) $< \
+ | { read off1 old1 new1; \
+ read off2 old2 new2; \
+ test $$(expr $$off1 + 1) = $$off2; \
+ echo " .long $$(expr $$off1 - 3)"; \
+ while read off1 old3 new3; do \
+ read off2 old4 new4; \
+ test $$(expr $$off1 + 1) = $$off2; \
+ test $$old1 = $$old3 -a $$new1 = $$new3; \
+ test $$old2 = $$old4 -a $$new2 = $$new4; \
+ echo " .long $$(expr $$off1 - 3)"; \
+ done; \
+ } >$@
+
+SYSCFLAGS_vsyscall-sysenter.so.alt = $(vs...
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...+quiet_cmd_syscall_rel = COMPARE $@
+ cmd_syscall_rel = set -e; \
+ cmp -l $(basename $<) $< \
+ | { read off1 old1 new1; \
+ read off2 old2 new2; \
+ test $$(expr $$off1 + 1) = $$off2; \
+ echo " .long $$(expr $$off1 - 3)"; \
+ while read off1 old3 new3; do \
+ read off2 old4 new4; \
+ test $$(expr $$off1 + 1) = $$off2; \
+ test $$old1 = $$old3 -a $$new1 = $$new3; \
+ test $$old2 = $$old4 -a $$new2 = $$new4; \
+ echo " .long $$(expr $$off1 - 3)"; \
+ done; \
+ } >$@
+
+SYSCFLAGS_vsyscall-sysenter.so.alt = $(vs...
2005 Jun 07
6
transform large matrix into list
Dear List
I need to transform a large matrix M with many NAs into a list L with
one row for each non missing cell. Every row should contain the cell
value in the first column, and its coordinates of the matrix in column
2 and 3.
M:
x1 x2
y1 1 2
y2 4 5
y3 7 8
L:
v x y
1 1 1
4 1 2
7 1 2
2 2 1
5 2 2
8 2 3
I'm trying to do this with a loop, but since my matrix is quite large
(around
2010 Oct 18
0
Problems detecting hangup
...aded here http://cringer.3kh.net/web/hangup-tone.wav
And the dahdi configuration is here:
http://cringer.3kh.net/web/chan_dahdi.conf
http://cringer.3kh.net/web/dahdi-channels.conf
Let me know if you need any other details on the setup.
Thank you very much in advance.
[0] http://smarthomeuae.com/new3/product.php?productid=218&pcategory=16001
PS: please excuse my bad english.
--
Ariel Wainer
Contenta Mobile
2012 May 09
2
Problem with SQLDF - Error in sqliteExecStatement(con, statement, bind.data) : RS-DBI driver: (error in statement: no such table:
...isdst"
), class = c("POSIXlt", "POSIXt"))), .Names = c("NAME", "TMSTMP",
"PRICE", "DATE", "DTTM"), row.names = c(NA, 6L), class = "data.frame")
I run the above command again but this time I get an error:
> new3 = sqldf("select * from testeq")
Error in sqliteExecStatement(con, statement, bind.data) :
RS-DBI driver: (error in statement: no such table: testeq)
In addition: Warning message:
In value[[3L]](cond) : RAW() can only be applied to a 'raw', not a 'double'
Can anyone guid...
2001 Oct 18
3
Rcmd SHLIB in rw1031 (R for Win)
......... [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >>
e:/Rseg/test.def
rm -f Defs
gcc --shared -s -o e:/Rseg/test.dll e:/Rseg/test.def e:/Rseg/test.a
-LE:/RW10
31/src/gnuwin32 -lg2c -lR
Apparentely, all good. But, from R:
> dyn.load("test.dll")
> a <- segmentaF2001.new3(test5.stat,test5.ady)
ITERACION: 1Error in .Call("printListElement", lista, t(stat), ncol(stat),
nrow(stat)) :
.Call function name not in load table
Timing stopped at: NA NA 0.11 NA NA
>
The same code works fine under Linux.
Does anyone see where is the problem?
Thanks...
2013 Jul 13
0
Dovecot 2.2.4 metadata-plugin not support UTF7
..."Calendar/New"
("/shared/vendor/kolab/folder-type" "event")
[13-Jul-2013 19:15:36 +0400]: [F537] S: * METADATA "Calendar/New4"
("/shared/vendor/kolab/folder-type" "event")
[13-Jul-2013 19:15:36 +0400]: [F537] S: * METADATA "Calendar/New3"
("/shared/vendor/kolab/folder-type" "event")
[13-Jul-2013 19:15:36 +0400]: [F537] S: * METADATA "Calendar/Home"
("/shared/vendor/kolab/folder-type" "event")
[13-Jul-2013 19:15:36 +0400]: [F537] S: * METADATA "Calendar/New2"
("...
2013 Jul 13
0
Dovecot 2.2.4 metadata-plugin crached
...d out>
warn_toomany = <optimized out>
arglist = 0x16ffeb8
response = <optimized out>
warn_noprivate = false
#3 cmd_setmetadata (cmd=0x16fb440) at imap-metadata-plugin.c:761
args = 0x16ffca8
mailbox_name = 0x16ffe10 "Calendar/New3"
box = 0x1700080
#4 0x000000000041679c in command_exec (cmd=cmd at entry=0x16fb440) at
imap-commands.c:156
hook = 0x16e00b0
ret = <optimized out>
#5 0x0000000000415800 in client_command_input (cmd=0x16fb440) at
imap-client.c:775
client = 0x16fa910...
2005 Feb 04
2
Failures they e2fsck doesn't find
Hi,
I've run many time e2fsck, but in a special dir ls tells me:
ls: r?cksendung-wlan.dvi: No such file or directory
ls: baf?g_r?ckmeldung.latex: No such file or directory
ls: finpr?f.pdf: No such file or directory
$ cat finpr?f.pdf
cat: finpr?f.pdf: Datei oder Verzeichnis nicht gefunden
I don't know what to do? How can I find the failure? If I cat the files
with debugfs, I see the