search for: idata

Displaying 20 results from an estimated 87 matches for "idata".

Did you mean: data
2008 Sep 09
1
How do I compute interactions with anova.mlm ?
...is hinted in R News 2007/2), but I don't really know how to use this approach. Here is my current code: Two Factors: fac1, fac2 mlmfit <- lm(mydata~1) mlmfit0 <- update(mlmfit, ~0) % test fac1, works, produces same output as SAS anova(mlmfit, mlmfit0, M = ~ fac1 + fac2, X = ~ fac2, idata = idata, test = "Wilks") % test fac1*fac2 interaction, also works, also the same output as SAS anova(mlmfit, mlmfit0, X = ~ fac1 + fac2, idata = idata, test = "Wilks") Three Factors: fac1, fac2, fac3 mlmfit <- lm(mydata~1) mlmfit0 <- update(mlmfit, ~0) % test fac1,...
2009 May 21
3
index to select rows of a large matrix
Dear R Users, I have created a 1500 x 20000 data frame - DataSeq. Each of the 1500 rows represents a data sequence. I have another data frame iData that stores the information of these 1500 data sequences in the same order, for example, condition, gender, etc. If I use "subset" to select certain groups within iData according to some criteria that I have set, e.g. condition, gender Then how can I used the retrieved subset of iData to...
2015 Jul 23
0
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
...which means it is intel x86 target luckily this is handled in binutils however :) I'll submit a patch to llvm to fix all 4 targets for this x86 x64 arm and aarch64 Here are the 2 outputs from objdump $ llvm-objdump -s libuser32.a dykgt.o: file format COFF-i386 Contents of section .idata$4: 0000 00000000 .... Contents of section .idata$5: 0000 00000000 .... Contents of section .idata$7: 0000 55534552 33322e64 6c6c0000 USER32.dll.. dykgh.o: file format COFF-i386 Contents of section .idata$2: 0000 00000000...
2010 Jan 03
1
Anova in 'car': "SSPE apparently deficient rank"
...6 1 4 7 9 4 p4 1 1 2 2 1 2 3 6 2 3 8 10 5 p5 2 2 3 3 2 3 5 7 2 3 7 9 > attach(your.data) > multmodel=lm(cbind(A1B1, A1B2, A1B3, A1B4, A2B1, A2B2, A2B3, A2B4, A3B1, A3B2, A3B3, A3B4)~1) > poke.idata=read.table(pipe("pbpaste"),header=T) > poke.idata Afac Bfac 1 A1 B1 2 A1 B2 3 A1 B3 4 A1 B4 5 A2 B1 6 A2 B2 7 A2 B3 8 A2 B4 9 A3 B1 10 A3 B2 11 A3 B3 12 A3 B4 > attach(poke.idata) > pokeAnova =Anova(multmodel,idat...
2015 Jul 23
2
[LLVMdev] [LLD] support for dlltool generated libs in COFF/PECOFF
Hi again rui, :) I've got all the patches into llvm and clang for supporting mingw-w64 via compiler-rt and now we are able to build a full mingw-w64 toolchain without gcc :) With great help from yaron and rnk. I've CC'd them as they might have interest in seeing this target through with me to the end :) So I have again turned my attention to LLD so that we can also remove ld as a
2009 Apr 11
1
Error in R CMD check 2.8.1
...owth data > ### Aliases: VocabGrowth > ### Keywords: datasets > > ### ** Examples > > data(VocabGrowth) > > # Standard Multivariate & Univariate repeated measures analysis > Vocab.mod <- lm(cbind(grade8,grade9,grade10,grade11) ~ 1, data=VocabGrowth) > idata <-data.frame(grade=ordered(8:11)) > Anova(Vocab.mod, idata=idata, idesign=~grade) Warning in Anova.mlm(Vocab.mod, idata = idata, idesign = ~grade) : the model contains only an intercept: equivalent Type III test substituted Type III Repeated Measures MANOVA Tests: Pillai test statistic...
2010 May 06
1
How to solve: Error with Anova {car} due to "deficient rank" ?
Hello all, I am getting the following error: Error in linear.hypothesis.mlm(mod, hyp.matrix.1, SSPE = SSPE, V = V, : The error SSP matrix is apparently of deficient rank = 7 < 11 After running: mod.ok <- lm(as.matrix(dat[,-1]) ~ DC, data=dat) (av.ok <- Anova(mod.ok, idata=idata, idesign=~week)) Although if I jitter the data in "dat", the function seems to work. What should I do ? (here is a self sufficient example code of my situation) #------------- R code -------------------- # creating data idata <- structure(list(week = structure(1:12, .Lab...
2008 Sep 17
1
Question about panel.points
Hello, I'm trying to plot graphs using lattice with this script : xyplot(Y ~ X | factmod, panel = function(x, y) { panel.grid(h=-1, v=-1, col="gray") panel.xyplot(x, y, type="p", pch=20) panel.points(50,Idata, data=devdata, col="red") -----> this doesn't work }, xlab="X", ylab="Y") factmod is a factor with 18 labels corresponding to the 18 names of my devices. devdata is a data.frame of 2 columns and 18 rows : name of the devices /...
2010 Mar 20
2
[PATCH 4/4] btrfs-convert: split into convert/.
...- int offset, int blocksize, - char *buf,void *priv_data) -{ - int ret; - int file_type; - u64 objectid; - u64 inode_size; - char dotdot[] = ".."; - struct btrfs_key location; - struct ext2_dir_entry_2 *dirent = (struct ext2_dir_entry_2 *)old; - struct dir_iterate_data *idata = (struct dir_iterate_data *)priv_data; - - objectid = dirent->inode + INO_OFFSET; - if (!strncmp(dirent->name, dotdot, dirent->name_len)) { - if (dirent->name_len == 2) { - BUG_ON(idata->parent != 0); - idata->parent = objectid; - } - return 0; - } - if (dirent->inode &...
2016 Apr 04
0
Find the dataset(s) that contain(s) non-ASCII characters
...recorded as rda files) contain(s) non-ASCII characters. Using the iconv function let us to find or replace non-ASCII characters iconv(x, "UTF-8", "ASCII", sub="I_WAS_NOT_ASCII") I use the following function to detect non-ASCII characters. testASCII <- function(idata) { col <- (1:NCOL(idata))[sapply(idata, is.factor)] col <- c(col, (1:NCOL(idata))[sapply(idata, is.character)]) for(i in col) { x <- idata[, i] cat(colnames(idata)[i], "\n") res <- grep("I_WAS_NOT_ASCII", iconv(x, "latin1", "ASCII", s...
2013 Feb 15
3
lattice 3x3 plot: force common y-limits accross rows and align x-axes
...## END TRY ONE - MERGE LATTICE PLOTS #### #### BEGIN TRY TWO - CUSTOM PREPANEL AND PANEL FUNCTIONS #### prepanel.dotplot.x <- function(x,y,type,subscripts,...,data=NULL) { # find data-frame that corresponds to the entire row of the plot irisk <- levels(data$risk[subscripts,drop=TRUE]) idata <- subset(data,risk==irisk) # in the sub-frame, order subjects by total counts idata$subjectx <- reorder(idata$subject[,drop=TRUE],idata$count,sum) # set y-limits ylim <- levels(idata$subjectx) # increment packet counter and print new panel limits pcknum = lattice.options()$...
2009 Feb 18
2
[package-car:Anova] extracting residuals from Anova for Type II/III Repeated Measures ?
.../what are the (between/within) residuals for my model? ############ Play code: phase <- factor(rep(c("pretest", "posttest", "followup"), c(5, 5, 5)), levels=c("pretest", "posttest", "followup")) hour <- ordered(rep(1:5, 3)) idata <- data.frame(phase, hour) idata mod.ok <- lm(cbind(pre.1, pre.2, pre.3, pre.4, pre.5, post.1, post.2, post.3, post.4, post.5, fup.1, fup.2, fup.3, fup.4, fup.5) ~ treatment*gender, data=OBrienKaiser) av.ok <- Anova(mod.ok, idata=...
2018 Feb 08
2
LLD: targeting cygwin
...(__section_alignment__) : { __bss_start__ = . ; *(.bss) *(COMMON) __bss_end__ = . ; } .edata BLOCK(__section_alignment__) : { *(.edata) } /DISCARD/ : { *(.debug$S) *(.debug$T) *(.debug$F) *(.drectve) *(.note.GNU-stack) *(.gnu.lto_*) } .idata BLOCK(__section_alignment__) : { /* This cannot currently be handled with grouped sections. See pep.em:sort_sections. */ KEEP (SORT(*)(.idata$2)) KEEP (SORT(*)(.idata$3)) /* These zeroes mark the end of the import list. */ LONG (0); LONG (0); LONG (0); LONG (0); LONG (0)...
2010 Apr 16
1
Multiple comparisons on Anova.mlm object
...gt; RM <- cbind(repeated_measure_1, repeated_measure_2, repeated_measure_3, repeated_measure_4, repeated_measure_5) > mlm <- lm(RM ~ Treatment, data = RMdata.file) > # load required package car > library(car) > ## Define Anova model object for repeated-measures ANOVA > # define idata data frame > idata <- data.frame(RM = factor(1:5)) > # define Anova object > mlm.aov <- Anova(mlm, idata = idata,idesign = ~RM, type = "II") > # display class of Anova object > class(mlm.aov) [1] "Anova.mlm" > # display session information > sessionInf...
2018 Feb 09
0
LLD: targeting cygwin
...> __bss_end__ = . ; > } > .edata BLOCK(__section_alignment__) : > { > *(.edata) > } > /DISCARD/ : > { > *(.debug$S) > *(.debug$T) > *(.debug$F) > *(.drectve) > *(.note.GNU-stack) > *(.gnu.lto_*) > } > .idata BLOCK(__section_alignment__) : > { > /* This cannot currently be handled with grouped sections. > See pep.em:sort_sections. */ > KEEP (SORT(*)(.idata$2)) > KEEP (SORT(*)(.idata$3)) > /* These zeroes mark the end of the import list. */ > LONG (0); LON...
2012 Mar 05
2
new to repeated measures anova in R
...model=lm(datin.model ~ 1) Shoe <- factor(c(rep("P",8),rep("L",8),rep("D",8))) Region <-factor(rep(c("Hallux","MidToes","LatToe","MTH1","MidMTH","LatMTH","MidFoot","Rearfoot"),3)) fact.idata <- data.frame(Shoe,Region) pressure.aov = Anova(multmodel, idata=fact.idata, idesign = ~Shoe + Region, type="III") > summary(pressure.aov,multivariate=F) Univariate Type III Repeated-Measures ANOVA Assuming Sphericity SS num Df Error SS den Df F Pr(>F...
2011 Mar 19
1
how to access the elements of a univariate results table with Anova (library car)
...y table. Example of the car library for Anova function: library(car) phase <- factor(rep(c("pretest", "posttest", "followup"), c(5, 5, 5)), levels=c("pretest", "posttest", "followup")) hour <- ordered(rep(1:5, 3)) idata <- data.frame(phase, hour) mod.ok <- lm(cbind(pre.1, pre.2, pre.3, pre.4, pre.5, post.1, post.2, post.3, post.4, post.5, fup.1, fup.2, fup.3, fup.4, fup.5) ~ treatment*gender, data=OBrienKaiser) av.ok <- Anova(mod.o...
2008 May 14
3
[Fwd: File Locking and Permissions Issue]
-------- Original Message -------- Subject: File Locking and Permissions Issue Date: Wed, 14 May 2008 15:10:28 -0700 From: Jack Lauman <jlauman@nwcascades.com> Organization: nwcascades.com To: mailto:samba@lists.samba.org I'm trying to get Lacerte 2007 Tax Accounting software working on a Samba v3.0.28a based server. When one user is logged in it works fine. When two or more users
2010 Dec 15
1
Structure of Anova for obtaining sig. corrected for departure from sphericity
...e standard deviations of the different interaction-cells differ markedly (~20, ~9, ~9, ~18) so it seems that a correction for departure from sphericity is appropriate. I'm trying to achieve that using the Anova function from the car package, but fail to understand what should be the model, the idata and idesign parameter (which seem to be required for a repeated-measures analysis design). I'd appreciate any help with getting the right required model and parameters (idata, idesign and icontrasts). Thanks, dror -------------------- My data set is stored in a data.frame with the following...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...(image, image->data, indexed_data, - color_table, color_table_size); + ptr, color_table_size); - g_free (color_table); g_free (ptr); -- } -- if (format == 4) { - unsigned char *p = ptr; ++ } else if (format == 4) { int i, j; unsigned int c; unsigned char *idata; ++ guint8 *p; if (have_alpha) { SWFDEC_INFO("16bit images aren't allowed to have alpha, ignoring"); have_alpha = FALSE; } - ptr = lossless (bits.ptr, bits.end - bits.ptr, 2 * image->width * image->height); - image_data = g_malloc (4...