search for: nmissing

Displaying 20 results from an estimated 20 matches for "nmissing".

Did you mean: missing
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
Here is a programming question. The code I am using is quite slow and I was wondering if there is a way to get rid of the for loop. I am dealing with "interaction" in 2x2 table, and am using Edwards's G_I (Likelihood, p. 194). I label the cells in the table as follows stim response "y" "n" total -------------------------------- y hit miss nsignal
2015 May 15
1
[PATCH] builder: Remove a few unnecessary 'virt-builder' strings from error messages.
...es not need any extra arguments") + error (f_"--list option does not need any extra arguments") ) | `Notes -> (match args with @@ -246,7 +246,7 @@ read the man page virt-builder(1). | [] -> error (f_"virt-builder --notes os-version\nMissing 'os-version'. Use '--list' to list available template names.") | _ -> - error (f_"virt-builder: too many parameters, expecting 'os-version'"); + error (f_"--notes: too many parameters, expecting 'os-version'");...
2005 Jan 06
2
patterns of missing data: determining monotonicity
Here is a problem that perhaps someone out here has an idea about. It vaguely reminds me of something I've seen before, but can't place. Can anyone help? For multiple imputation, there are simpler methods available if the patterns of missing data are 'monotone' --- if Vj is missing then all variables Vk, k>j are also missing, vs. more complex methods required when the
2003 Apr 22
3
zip.unpack() crashes R (PR#2818)
...the script twice with N = 1002 crashes R # 3. Running the script twice with N = 1003 crashes R (every time?) # 4. Running the script twice with N = 2000 crashes R (every time!) N <- 1003 # Create an directory with N files dest <- "dir" dir.create(dest) files <- list.files(dest) nMissing <- (N - length(files)) if (nMissing > 0) { idx <- (length(files)+1):N filename <- sapply(as.integer(idx), FUN=sprintf, fmt="file%05d.txt") pathname <- paste(dest, filename, sep="/") for (k in seq(pathname)) cat(file=pathname[k], 0) } # Create a zip ar...
2011 Jun 01
1
Missing completely at random
Hello! I would like to sample 5 % of cases and from 1 to 3 variables within selected cases and set them as NA (MCAR-Missing completely at random). I managed to sample cases and variables, but I don’t know how to set them as NA. R code: N <- 1000      ####number of cases n <- 12           ####number of variables X <- matrix(rnorm(N * n), N, n)    ####matrix pMiss <- 0.05    
2003 Apr 22
0
zip.unpack() crashes R (PR#2820)
...the script twice with N = 1002 crashes R # 3. Running the script twice with N = 1003 crashes R (every time?) # 4. Running the script twice with N = 2000 crashes R (every time!) N <- 1003 # Create an directory with N files dest <- "dir" dir.create(dest) files <- list.files(dest) nMissing <- (N - length(files)) if (nMissing > 0) { idx <- (length(files)+1):N filename <- sapply(as.integer(idx), FUN=sprintf, fmt="file%05d.txt") pathname <- paste(dest, filename, sep="/") for (k in seq(pathname)) cat(file=pathname[k], 0) } # Create a zip ar...
2003 Apr 22
0
zip.unpack() crashes R (PR#2821)
...the script twice with N = 1002 crashes R # 3. Running the script twice with N = 1003 crashes R (every time?) # 4. Running the script twice with N = 2000 crashes R (every time!) N <- 1003 # Create an directory with N files dest <- "dir" dir.create(dest) files <- list.files(dest) nMissing <- (N - length(files)) if (nMissing > 0) { idx <- (length(files)+1):N filename <- sapply(as.integer(idx), FUN=sprintf, fmt="file%05d.txt") pathname <- paste(dest, filename, sep="/") for (k in seq(pathname)) cat(file=pathname[k], 0) } # Create a zip ar...
2009 Feb 02
2
Defining plot colors based on a variable
Hi, I have been trying unsuccessfully to plot data using different colors based on a variable within a subset of an imported file. The file I am reading is about 20000 lines long and has a column (in the example called FILE) that contains approximately 100 unique entries. I would like to plot a subset of the data from the file and key the color from the FILE column, This is what my file looks like
2002 May 14
2
R CMD check
I am unclear on whether to run R CMD check pgkname as user or as root on Linux. When running as user, after all the latex, html, and man files are created, I get the following error message: Rdconv(): Couldn't open '': Permission denied Has anyone dealt with that message? When I run R CMD check a second time, all latex, html, etc. are recreated which takes quite a while. Is there
2010 Aug 03
2
Specifying interactions in rms package... error
I am encountering an error I do not know how to debug. The error arises when I try to add an interaction term involving two continuous variables (defined using rcs functions) to an existing (and working) model. The new model reads: model5 <- lrm( B_fainting ~ gender+ rcs(exactage, 7) + rcs(DW_nadler_bv, 7) + rcs(drawtimefrom8am, 7)+ DW_firsttime+ DW_race_eth +
2000 Dec 22
2
REading the netCDF format into R
...alloc in ncread */ double ofs, scl; /* offset and scaling factors */ double *ptr; SEXP field, dim, dimnames, lon, lat, tim, missing; printf("ncfile= %s, vname=%s\n",fname,vname); printf("\nfield->%x\nlon -> %x\nlat -> %x\ntim -> %x\nmissing -> %x\n", field,lon,lat,tim,missing); /* Call the function dealing with the netCDF data */ /* The data is placed in memeory */ status=ncread(fname, vname, &nx, &ny, &nt, &ptrs, &scl, &ofs); /* Allocate space for pointers */ /* Use PROTECT to ens...
2011 Jun 03
3
Not missing at random
Hello!   I would like to sample 30 % of cases (with at least 1 value lower than 3) and among them I want to set all values lower than 3 (within selected cases) as NA (NMAR- Not missing at random). I managed to sample cases, but I don’t know how to set values (lower than 3) as NA.   R code:   x <-
2008 Nov 03
0
NaN causes "error in fitter" with cph.calibrate from pkg Design
I have been attempting to use cph models to get better calibration of my models for which I had originally used logistic regression. I tried running with 40 repetitions and got an error. I then tried 500 repetitions (thinking that the NaNs in the output below might be caused by that choice) and then let my computer crunch for several hours and got only the same error message and
2009 Sep 01
7
Dahdi configuraion / error
Hello I just updated the kernel, dahdi-linux and dahdi-tools Im also using now asterisk 1.4.26.1 And im still with a red light (not RED/YELLOW anymore): [root at catumbela ~]# /etc/rc.d/init.d/dahdi status ### Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ RED 1 PRI CAS RED 2 PRI CAS RED 3 PRI CAS RED 4 PRI
2001 Feb 27
1
Patch to coplot.R
...lab[2], side = 4, at = mean(par("usr")[3:4]), line = 3, xpd = NA) } else { mtext(ylab[2], side = 4, at = 0.5 * f.row, line = 3.25, outer = TRUE, xpd = NA) } } if (length(missingrows) > 0) { cat("\nMissing rows:", missingrows, "\n") invisible(missingrows) } } ---1149173172-1804289383-983267779=:26068 Content-Type: TEXT/plain; NAME="test.asc" RDA1 5 0 9 row.names 5 names 5 class 6 levels 3 cxt 2 0 0 1 0 0 5 -1 19 0 1 4 13 0 1 90 1 1 1 1 1 1 1 1 1 1 1...
2017 Apr 04
1
[PATCH] Use Unicode single quotes ‘’ in place of short single quoted strings throughout.
...[ L"format" ], Getopt.Set_string ("raw|qcow2", format), s_"Output format (default: raw)"; @@ -231,26 +231,26 @@ read the man page virt-builder(1). (match args with | [arg] -> arg | [] -> - error (f_"virt-builder os-version\nMissing 'os-version'. Use '--list' to list available template names.") + error (f_"virt-builder os-version\nMissing ‘os-version’. Use ‘--list’ to list available template names.") | _ -> - error (f_"too many parameters, expecting 'os-version...
2013 Nov 15
23
[PATCH -tip RFC v2 00/22] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've tried to implement new NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined, it is easy to maintain. This series
2013 Nov 15
23
[PATCH -tip RFC v2 00/22] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've tried to implement new NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined, it is easy to maintain. This series
2013 Nov 20
28
[PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Hi, Here is the version 3 of NOKPORBE_SYMBOL series. Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've introduced NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined
2013 Nov 20
28
[PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist
Hi, Here is the version 3 of NOKPORBE_SYMBOL series. Currently the blacklist is maintained by hand in kprobes.c which is separated from the function definition and is hard to catch up the kernel update. To solve this issue, I've introduced NOKPROBE_SYMBOL() macro for making kprobe blacklist at build time. Since the NOKPROBE_SYMBOL() macros can be placed right after the function is defined