Displaying 20 results from an estimated 68 matches for "19.9".
Did you mean:
15.9
2012 Apr 19
1
Reading a file with random whitespace
Dear R-users,
I have a large data file that I am trying to read in R where the file has a
white space at the begging and at random places. The whitespace is actually
NA so I am trying to read the file using scan but with no success!! Please
help
Here are some example rows from the data file.
1 1 0 0 2 1 1
0 0 2
2016 Apr 17
2
Trying to understand cut
I am trying to understand cut so I can divide a list of numbers into 10 group:
0-9.0
10-10.9
20-20.9
30-30.9,
40-40.9,
50-50.9
60-60.9
70-70.9
80-80.9
90-90.9
As I try to do this, I have been playing with the cut function. Surprising the following for applications of cut give me the exact same groups. This surprises me given that I have varied parameters include.lowest and right. Can someone
2009 Dec 03
3
Three-dimensional (3D) movement using 'R'
Hi Everyone,
I have a question regarding the construction of 3D graphs in 'R', BUT
these graphs also need to illustrate movement (with time) of the
prostate gland (using radiological techniques). I am not sure how to do
this in 'R' although I'm sure there is some way of doing it.
Below, I have copied and pasted some of the data with which I'm working
on. The data
2016 Apr 17
0
Trying to understand cut
Have you read FAQ 7.31 recently, John? Your whole premise is flawed. You should be thinking of ranges [0,10), [10,20), and so on because numbers ending in 0.9 are never going to be exact.
--
Sent from my phone. Please excuse my brevity.
On April 16, 2016 7:38:50 PM PDT, John Sorkin <jsorkin at grecc.umaryland.edu> wrote:
>I am trying to understand cut so I can divide a list of numbers
2016 Apr 17
3
Trying to understand cut
Jeff,
Perhaps I was sloppy with my notation:
I want groups
>=0 <10
>=10 <20
>=20<30
......
>=90 <100
In any event, my question remains, why did the four different versions of cut give me the same results? I hope someone can explain to me the function of
include.lowest and right in the call to cut. As demonstrated in my example below, the parameters do not seem to alter
2003 Sep 30
0
can't load x100p card
Ok, I have 2 PC's that are identical. I loaded Redhat9 on the first and
Asterisk and installed a x100p card and it works fine. I ghost the first PC
and install the ghost on the second PC. Everything comes up on the 2nd PC
but I can't get it's x100p card to load. The systems sees the card, it's on
interrupt 11. It shows up in /proc/pci and /etc/sysconfig/hwconf and lspci
shows it
2012 Jul 01
2
list to dataframe conversion-testing for identical
HI R help,
I was trying to get identical data frame from a list using two methods.
#Suppose my list is:
listdat1<-list(rnorm(10,20),rep(LETTERS[1:2],5),rep(1:5,2))
#Creating dataframe using cbind
dat1<-data.frame(do.call("cbind",listdat1))
colnames(dat1)<-c("Var1","Var2","Var3")
#Second dataframe conversion
2003 Jul 25
3
New Shorewall user trying to get ulogd setup
quick background:
RH9 (2.4.20-19.9)
Shorewall 1.4.6a-1
ulogd 1.00
Shorewall is working properly.
I''ve followed the FAQ instructions and everything appears to be setup
correctly. The problem is that I''m trying to get ulog going...but I''m
getting:
# service ulogd status
ulogd dead but subsys locked
I''m not sure if I was suppose to, but I also manually created
2006 Jul 02
2
how to recode in my dataset?
Dear Rusers,
My question is about "recode variables". First, i'd like to say
something about the idea of recoding:
My dataset have three variables:type,soiltem and airtem,which means
grass type, soil temperature and air temperature. As we all known, the
change of air temperature is greater than soil temperature,so the
values in those two different temperaturemay represent different
2007 Oct 22
2
Help interpreting output of Rprof
Hello there,
I am not quite sure how to interpret the output of Rprof (in the following the output I was staring at). I was poking around the web a little bit for documentation but without much success. I guess if I want to figure out what takes so long in my code the 2nd table $by.total and the total.pct column (pct = percent) is the most helpful. What does it mean that [ or [.data.frame is
2010 Jun 02
2
Faster union of polygons?
Dear R-helpers,
thanks for yesterday's speeding-up tip. Here is my next query:
I have lots of polygons (not necessarily convex ones, and they never
have holes) given by x,y coordinates.
I want to get the polygon that is the union of these polygons. This is
my current method, but I am hoping there is a faster method (up to
thousands of polygons, each with ca. 40 xy points).
Example:
2008 Dec 21
2
data format issue
Dear all-
I have a dataset (see a sample below - but the whole dataset is June
2005 - June 2008). The "LST" format is "YYMMDDHHmm" and I would like to
get the hourly average of the "mph" for the summer months (spanning all
years). I have been trying to use "aggregate" but am not having much
success at all! any thoughts would be greatly appreciated.
2023 Jun 13
1
log transform a data frame
Thank you so much David, here is correction:
d1=suppressWarnings(read.csv("/Users/anamaria/Downloads/B1.csv",
stringsAsFactors=FALSE, header=TRUE))
d1$X <- NULL
d2=as.matrix(sapply(d1, as.numeric))
pdf("~/graph.pdf")
b<-barplot(d2, legend= c("SYCL", "CUDA"), beside=
TRUE,las=2,cex.axis=0.7,cex.names=0.7,ylim=c(0,80), col=c("#9e9ac8",
2003 Nov 05
1
Fitting a 3-parameter gammadistribution
I have 'grouped' data, that is in the form of:
Interval Median
0-9.9%: -25
10-19.9%: 0
20-29.9%: 3
30-39.9%: 10
40-49.9%: 50
50-59.9%: 200
et cetera
and want to fit a three parameter gamma distribution. Does anyone know of an existing routine for doing this (or something similar)? Any help or comment is much appreciated.
Regards,
M?rten
M?rten
2007 May 12
2
Implicit vs explicit printing and the call stack
Hi everyone,
I've run into a bit of strange problem with implicit vs explicit
printing and the call stack. I've included an example at the bottom of
this email. The basic problem is that I have an S3 object with a
print method. When the object is implicitly printed (ie. typed
directly into the console) the function arguments in the call stack
are exploded out to their actual values,
2010 Sep 14
1
NA confusion (length question)
Hi folks,
I am running a very simple regression using
mylm <- lm(mass ~ tarsus, na.action=na.exclude)
I would like the use the residuals from this analysis for more
regression but I'm running into a snag when I try
cbind(mylm$residuals, mydata) # where my data is the original data set
The error tells me that it cannot use cbind because the length of
mylm$residuals is
2010 May 04
7
How to replace all <NA> values in a data.frame with another ( not 0) value
I need to replace <NA> occurrences in multiple columns in a data.frame
with "000/000"
how do I achieve this?
Thanks
Nevil Amos
2012 May 05
1
Query about memory used in list and dataframe
Hi,
I had a query regarding which object, a list or a dataframe, consumes more
R memory. Let me clarify this:
For example, I have a df of 6 rows and 12 columns, say 'test'. I do
object.size() and find it uses 3.3 KB of memory.
I run a loop and make a list, say 'testlist', of 6 elements, each element
being the above mentioned df 'test'. The size of this list is 19.9 KB,
2023 Jun 13
1
log transform a data frame
Hello,
I have a data frame like this:
d11=suppressWarnings(read.csv("/Users/anamaria/Downloads/B1.csv",
stringsAsFactors=FALSE, header=TRUE))
> d11
X Domain.decomp. DD.com..load Neighbor.search Launch.PP.GPU.ops.
Comm..coord.
1 SYCL 2. 1 0 3.7 0. 1
1 .6
2 CUDA 2 0 3. 1 0
1 .0
2011 May 16
2
File to MYSQL
Dear R-user,
I have to feed my database using some SQL commands. I have already read a
data frame with the data I need but
after that these data should be write in a file wtih SQL commands.
1) My dataframe:
dput(Alldados)
structure(list(Station_NO = c(836490, 836920, 836950, 836980,
837380, 837460), TMAX_2M = c("NULL", "NULL", "NULL", "NULL",