Displaying 20 results from an estimated 700 matches similar to: "Doing SQL GROUP BY in R"
2003 Nov 21
1
output files in a different directory
Yes it is. Example from my program:
workdir <- "S:\\Stat\\C03202\\R-output\\"
...
sink(file=paste(workdir, assayname, "-1.txt", sep=""))
...
win.metafile(filename = paste(workdir, assayname, "-2%02d.wmf", sep=""))
You get the idea!
Kind regards,
Jesper Frickmann
Statistician, Quality Control
Novozymes North America Inc.
Tel. +1 919 494
2003 Nov 10
8
Memory issues..
Hi dear R-listers, I'm trying to fit a 3-level model using lme in R. My
sample size is about 2965 and 3 factors:
year (5 levels), ssize (4 levels), condition (2 levels).
When I issue the following command:
>
lme(var~year*ssize*condition,random=~ssize+condition|subject,data=smp,method
="ML")
I got the following error:
Error in logLik.lmeStructInt(lmeSt, lmePars) :
2003 Dec 22
2
Memory allocation
Hello:
I am trying to work with a couple of microarray data sets, using
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 8.1
year 2003
month 11
day 21
language R
In the shortcut for invoking R I have set
2004 May 11
2
Fitting data from a spectrophotometer.
Dear R-list,
It is not uncommon for laboratory equipment (e.g. spectrophotometers) to have a linear response in a certain interval and then go into saturation. I wonder if there is an R-function that models this; for instance by estimating the breakpoint and fitting a line below the breakpoint and a constant above.
Best regards
Thomas Poulsen
--
Thomas Poulsen Research Scientist. PhD,
2011 Sep 12
2
1 not equal to 1, and rep command
Hi
I need to use rep() to get a vector out, but I have spotted something very
strange. See the reproducible example below.
N <- 79
seg <- 5
segN <- N / seg # = 15.8
d1 <- seg - ( segN - floor(segN) ) * seg
d1 # = 1
rep(2, d1) # = numeric(0), strange - why doesn't it print one "2"?
rep(2, 1) # 2, ok
rep(2, d1 / 1,1) # 2, this
2006 Oct 07
3
merge and polylist
Greetings:
I would like to kindly ask for a little help. The rough code is:
#________________________________________________________
dat=data.frame(read.delim(file="all.txt", header = TRUE, sep = "\t",
quote="\"", dec=".",na.strings = "NA"))
nc=read.shape("astae.shp", dbf.data=TRUE, verbose=TRUE)
mappolys=Map2poly(nc)
submap
2003 Apr 11
4
Can I improve the efficiency of my scan() command?
Hi,
Suppose I use the following codes to read in a data set.
###############################################
> rating <- scan("../Data/Rating.csv",
+ what = list(
+ usage = "",
+ mileage = 0,
+ sex = "",
+ excess = "",
+ ncd = "",
+
2000 Nov 19
1
Bug in stars function (PR#738)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--1465796871-645734172-974620647=:18687
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi all,
I've discovered and (hopefully) fixed a bug in the stars function I wrote
some time ago.
2002 Aug 15
2
complex splits
Hi everyone,
I'm having trouble figuring out how to split a dataframe more than once.
Let's say I have a dataframe d with a certain column called splitcol
composed of four possible ordinal values. The same dataframe has
two other columns, col1 and col2, that have one of two possible values
each. I'd like to split d$splitcol based on col1 and col2 so I can report
frequencies of the
2007 Mar 19
1
Introducing myself
I am new to this group and would like to introduce myself. I am the
President of US AngelInvestors,an angel investor group in Silicon
Valley,and also founder of Bay Area Startup Network a networking group
in the Bay Area.
I invite you to join my network on LinkedIn, which I use much
principally. I am always looking at increasing my contacts, and
welcome new deals. You can connect with me on
2004 Apr 20
2
Creating variable names
My apologies for asking what is doubtless a dumb question, but I have
scant experience in R.
It would be very convenient in doing lots of plots to be able to do them
in a loop that stepped through a vector of variable names. For example
one could say
x<-("mydates")
y<-c("foo1","foo2","foo3") #where "foon" were vectors
2019 Jul 25
1
Files not populated in var/www
On 24 Jul 2019, at 21:37, Bjarne Bartlett wrote:
> Aloha Paul,
>
> I did originally try to view the server on port 8000 and 8001 and I get an
> error message that the site cannot be reached. It initially seemed like a
> firewall issue, but our LAN admin has opened the ports and allowed the
> icecast connection. Interestingly, when I start icecast it hangs and does
> not print
2007 Jun 27
5
24-bit FLAC Files
Hi, we're a small label in Honolulu, Hawaii, starting up, offering FLAC
downloads of live performances of local artists, and we're wondering how is
the support for 24-bit FLAC files? Our concern is that would it be too
difficult for users to burn 24-bit FLAC recordings to CD? Are there any
simple tools that convert 24-bit FLAC to 16-bit FLAC, or burning
applications that transparently do
2004 Sep 23
3
Samba public directory on FreeBSD
What is recommended for a public, 'free-for-all',
anyone can read or write directory on FreeBSD?
What are the reasons for preferring one place
over another?
Would these work?
/usr/local/share/sambapublic/
/usr/share/sambapublic/
/home/sambapublic/
Start Here to Find It Fast!? -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names ->
2002 Apr 23
3
stacking vectors of unequal length
R-users --
I would like to make a single vector out of something like the following:
y0 <- rep(0,100)
y1 <- rep(1,20)
and stack them one on top of the other to a vector y with length 120.
Thanks,
Dan
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dan Powers
Associate Professor, Sociology
University of Texas at Austin
2005 Jan 31
1
naming list elements
All -
Each time through a loop I create a new dataset, which I would like to
append to a list object. Each item of the list should be the data matrix
created in that step of the loop; I would like the NAME (or tag) of that
list item to be assigned the value of a character string:
I've tried something like this:
running.list <- numeric(0)
for(i in 1:num.files){
.....
running.list
2003 Dec 06
7
Windows Memory Issues
Hi all,
I am currently building an application based on R 1.7.1 (+ compiled
C/C++ code + MySql + VB). I am building this application to work on 2
different platforms (Windows XP Professional (500mb memory) and Windows
NT 4.0 with service pack 6 (1gb memory)). This is a very memory
intensive application performing sophisticated operations on "large"
matrices (typically 5000x1500
2002 Sep 10
3
print
Hi all,
Suppose I have a vector
Fruits <- c('Apple','Orange','Pear','Banana','Mango')
I want to print the statement
"The fruits in the basket are: Apple, Orange, Pear, Banana, Mango"
If I do:
print(paste('The fruits in the basket are:',Fruits))
The output is:
[1] "The fruits in the basket are: Apple" "The fruits in
2019 Jul 23
2
Files not populated in var/www
The logs don't show a fault. The configuration for the "web" files
are usually under /etc/icecast2/web/ (or similar... RedHat may put
them somewhere else).
Have you actually tried viewing the server on port 8000?
eg. http://your.server.example.com:8000/
--
Paul Martin <pm at nowster.me.uk>
2005 Apr 05
2
GLMs: Negative Binomial family in R?
Greetings R Users!
I have a data set of count responses for which I have made repeated observations
on the experimental units (stream reaches) over two air photo dates, hence the
mixed effect. I have been using Dr. Jim Lindsey's GLMM function found in his
"repeated" measures package with the "poisson" family.
My problem though is that I don't think the poisson