similar to: counts in quantiles in and from a matrix

Displaying 20 results from an estimated 2000 matches similar to: "counts in quantiles in and from a matrix"

2006 Jul 10
1
Query:chi-squre test
Hi, I have calculated chi-square goodness of fit test,Sample coming from Poisson distribution. please copy this script in R & run the script The R script is as follows ########################## start ######################################### No_of_Frauds<- c(4,1,6,9,9,10,2,4,8,2,3,0,1,2,3,1,3,4,5,4,4,4,9,5,4,3,11,8,12,3,10,0,7) lambda<- mean(No_of_Frauds) # Chi-Squared
2006 Oct 22
1
disaggregating table
Hi all, This should be easy, but I can't seem to figure it out. I have a table like this named newtable a1 a2 a3 a4 Cnts Score 1 1 0 0 4 3.28 1 0 1 1 2 2.63 I want the following: a1 a2 a3 a4 Cnts Score 1 1 0 0 4 3.28 1 1 0 0 4 3.28 1 1 0 0 4 3.28 1 1 0 0
2000 Mar 08
1
installing package in Windows
Could you help me in getting a package to compile from source in Windows? I'm running Windows NT 4.0 on a pentium 450 with 128 Mb of Ram. I've got R 1.0.0. I am developing a package for R which includes a bit of C code. I have things working in Unix just fine, and now I want to port it to Windows NT. I've been following the instructions in the R complements to Venables and
2009 Dec 26
3
How to manipulate tables
I am sorry to be bothering the list so much. I made a table of counts of flight arrivals by hour: cnts=tapply(Arrival4,list(Hour),table). There are up to 15 arrivals in a bin. > cnts $`0` 1 2 3 4 5 6 7 8 9 10 13 1 2 5 9 2 7 5 4 2 4 1 $`1` 1 2 3 4 3 2 2 1 $`2` 1 3 2 2 . . . My first problem is how to get this table filled in with the 0 slots. E.g., I want $`0` 1 2
2009 Nov 06
1
Qtl - package - Question
Dear R-Helpers, I am using qtl package to analyze qtl data from QTL cartographer. I have the map file and cro file from QTL cartographer. I was trying to import these two files in R using qtl package. data=read.cross("qtlcart", ".", "crofile.txt", "mapfile.txt") ### I have matched the file structure with the one on the website of qtl package - It matches
2006 Jul 17
1
Getting rid of for loops
Hello R-users! I have a style question. I know that for loops are somewhat frowned upon in R, and I was trying to figure out a nice way to do something without using loops, but figured that i could get it done quickly using them. I am now looking to see what kind of tricks I can use to make this code a bit more aesthetically appealing to other R users (and learn something about R along the
2013 Mar 26
1
Can you help with local source file instalation?
Hi R, I tried to install one local source package---"qtl" into R, but failed with the following message. I am using Macbook OS 10.8.3 with Xcode 4.6.1. ld: warning: directory not found for option '-L/usr/local/lib' ld: library not found for -lgfortran collect2: ld returned 1 exit status make: *** [qtl.so] Error 1 ERROR: compilation failed for package ¡®qtl¡¯ * removing
2003 Jul 28
2
R compilation error on Solaris
Hello... I tried to compile an R addon package, R/qtl on a Solaris machine and I get this error. I know that R/qtl complies correctly on other platforms (Windows, Mac, Linuxes, etc), so I am wondering what the problem might be. Any ideas? Thanks, Saunak ----------------------------------- /export/home/sen/tmp <howrahbridge> <pts/5> R INSTALL
2013 Sep 06
2
Fwd:
---------- Forwarded message ---------- From: Waqas Shafqat <waqas1518@gmail.com> Date: Fri, Sep 6, 2013 at 10:31 PM Subject: To: rosyara@msu.edu sorry sir i have istalled plantbreeding libraray..but when i give command "require(plantbreeding)" then following message appear > require(plantbreeding) Loading required package: plantbreeding Loading required package: qtl Failed
2008 Mar 01
2
How to set up multiple spawns of R?
Sorry: resending this; didn't have a title on it. Trying to set up multiple spawns of R ------------------------------------------- Hi. I'm new to the list but I have a small problem with R. I'm trying to set up multiple spawns of R active at the same time on an AMD with a dual core in Vista so that I can cut down my permutation processing time. I've installed R in multiple
2010 Apr 16
2
managing data and removing lines
Hi, I am very new to R and I've been trying to work through the R book to gain a better idea of the code (which is also completely new to me). Initially I imputed my data from a text file and that seemed to work ok, but I'm trying to examine linear relationships between gdist and gair, gdist and gsub, m6dist and m6air, etc. This didn't work and I think it might have something to do
2011 Oct 12
1
Tinn-R change editor background color
Hello, Does anyone know how to change the Tinn-R editor background color? White is rough on the eyes... Thanks, Ben [[alternative HTML version deleted]]
2006 Oct 15
1
gamma distribution don't allow negative value in GLMs?
Dear friends, when i use glm() to fit my data, i use glm(formula = snail ~ vegtype + mhveg + humidity + elevation + soiltem, *family = Gamma(link = inverse),* data =a,)) It shows: error in eval(expr, envir, enclos) : *gamma distribution don't allow negative value*. But i use result<-glm(formula = snail ~ vegtype + mhveg + humidity + elevation + soiltem, family = poisson, data =a) #this
2010 Apr 29
1
R CMD check Error after R CMD build for R-2.11.0
Dear UseR, I get an error when I run "R CMD check" on my .tar.gz file package, and I don't understand why since I don't obtain any error with "R CMD check" on the package directory. Do you have any idea ? $ sudo ./R-2.11.0/bin/R CMD check eqtl_1.1.tar.gz and $ sudo ./R-2.11.0/bin/R CMD --check-subdirs=no eqtl_1.1.tar.gz return an Error * checking for working
2024 Jan 29
0
DescTools::Quantile
It looks like a homework assignment. It also looks like you didn't read the documentation carefully enough. The 'len.out' argument in seq is solely for specifying the length of a sequence. The 'quantile' function omputes the empirical quantile of raw data in the vector 'x' at cumulative probabilit(y)(ies) given in the weights' argument, with interpolation I'm
2002 Jan 15
1
Error message in R: stack imbalance
Hello... I just installed R version 1.4.0 on my laptop running Redhat Linux 7.1. I downloaded the RPM from CRAN and when I try to use a function I have used on other Redhat systems, I get the following error message. -------- > library(qtl) > gastritis <- read.cross(format="csv",dir="/home/sen/qtl/data/gastritis", +
2010 Oct 08
2
Heatmap/Color Selection(Key)
Hi I made heatmap of QTL based on Lod score. Where I have traits in columns and marker data (rows). I can not cluster both column and rows as I need the right order for marker data. Can someone suggest me better way of generating heatmaps especially the colour key I want to select to visualize the results which are more interesting to look at. > library(gplots) >
2011 Aug 12
1
problem in asreml function in wgaim package
Dear R users,   I am trying to use "wgaim" package for QTL analysis using mixed model approach. But i am stuck with "asreml" function while using "wgaim" package. Do i need a separate package to activate "asreml" function beside "wgaim" package ?   If so, i tried to download "Asreml-R" package (i guess this is right package
2011 Sep 27
3
remove NaN from element in a vector in a list
Hello, What is the best way to turn a matrix into a list removing NaN's? I'm new to R... Start: > mt = matrix(c(1,4,NaN,5,3,6),2,3) > mt [,1] [,2] [,3] [1,] 1 NaN 3 [2,] 4 5 6 Desired result: > lst [[1]] [1] 1 3 [[2]] [1] 4 5 6 Thanks! Ben [[alternative HTML version deleted]]
2017 Nov 07
1
Pathview xml issue
Hi, I'm using GAGE/pathview to analyze my RNA-seq and phospho-protein data. The following error occurs after this command line below: >pv.out.list <- sapply(path.ids2[1:3], function(pid) pathview( gene.data = cnts.d, pathway.id = pid, gene.idtype="SYMBOL",kegg.native = F, same.layer = T, species = "hsa", kegg.dir = "test", out.suffix = "up"))