All,
I am trying to format a graph using scales and percent format but I am missing
something and all my graphics books on ggplot2 are now quite far behind where
ggplot2 is today. I seem to be missing a trick but the documentation implies
that percent_format() will multiply by 100 and add %
t.org
> Subject: Re: [R] some help
>
> Hey again!
>
> I finally, after some work done before, had time to apply the code.
> The sorting of the table did not work well or maybe something was
> misunderstood.
>
> I have a table with 973 rows and 1329 col (ascii/text
try this: (provide sample data next time)
> # create some test data
> x <- data.frame(LST = runif(1000), NDVI = runif(1000, 0, 1))
> head(x,10) # show some data
LST NDVI
1 0.86542839 0.95129647
2 0.88910058 0.75971649
3 0.44086718 0.86532140
4 0.99879370 0.05511501
5 0.02401
Hey
The code need some corrections and I would kindly ask for help.
Say:
I have a table with two columns:
col1=LST and col2=NDVI
i would like to sort all data by NDVI.
in reality the NDVI ranges between 0 and 1 (although some values might be
minus also).
I want to sort by NDVI values and then ma
Hey again!
I finally, after some work done before, had time to apply the code.
The sorting of the table did not work well or maybe something was
misunderstood.
I have a table with 973 rows and 1329 col (ascii/text file). I want to sort
the table that all columns are one under each other so that
HI David,
Thanks for your answers,
I can't provide data here, but I can explain more:
It's satellite images as a text file (ascii). Two different images with two
different variables, land surface temperature (LST -lstascii =filename) and
an vegetation index (NDVI - ndviascii = filename).
The aim
mue...@yahoo.de
dattel_pa...@yahoo.de
Von: Rui Barradas
An: dattel_palme
CC: r-help@r-project.org
Gesendet: 19:34 Samstag, 3.November 2012
Betreff: Re: [R] some help
Hello,
Without data it's not easy to answer to your questions, but
1. Use ?unlist. If t
HI everybody,
Thanks for your answers,
I can't provide data here, but I can explain more:
It's satellite images as a text file (ascii). Two different images with two
different variables, land surface temperature (LST -lstascii =filename) and
an vegetation index (NDVI - ndviascii = filename).
Th
Hello,
Without data it's not easy to answer to your questions, but
1. Use ?unlist. If the data is in a file, read it with ?read.table and
the unlist the result. All columns will be stacked.
dat <- read.table(filename, ...)
unlist(dat)
2. At best confusing. But to divide a vector into groups
On Nov 3, 2012, at 9:07 AM, dattel_palme wrote:
> Hi People!
>
> I have following concern consisting of some steps to do in R:
>
> I have an ascii file (table) consisting of many columns and rows.
> 1. I would like to order all values of the columns one under each other. It
> will begin with
Hi People!
I have following concern consisting of some steps to do in R:
I have an ascii file (table) consisting of many columns and rows.
1. I would like to order all values of the columns one under each other. It
will begin with column 1, then column 2 under column 1, column 3 under
column 2
On Fri, Jun 15, 2012 at 9:22 PM, gianni lavaredo
wrote:
> Dear Researches,
>
> sorry for disturb. I wish to improve my figure in R plotting the relative
> frequencies of my data set.
>
> library(lattice)
> a <- c(0,0,0,1,1,2,4,5,6,7,7,7,7,7,8,8,8,8,9,9,9,9,10,10,11)
> histogram(a, xlab="myData")
>
Dear Researches,
sorry for disturb. I wish to improve my figure in R plotting the relative
frequencies of my data set.
library(lattice)
a <- c(0,0,0,1,1,2,4,5,6,7,7,7,7,7,8,8,8,8,9,9,9,9,10,10,11)
histogram(a, xlab="myData")
what i wish to do is:
1) invert the order of X and Y (eg: Precent of T
Dear all,
For the following code, I have the error message
"Error in uniroot(f1star, lower = -10, upper = 0, tol = 1e-10, lambda =
lam[i], :
f() values at end points not of opposite sign".
It seems the problem occurs when lambda is equal to 0.99.
However, there should be a solution for "f1
On Apr 24, 2012, at 05:52 , li li wrote:
> Dear all,
> I need to do some calculation where the code used are below. I get
> error message when I choose k to be large, say greater than 25.
> The error message is
> "Error in integrate(temp, lower = 0, upper = 1, k, x, rho, m) :
> the integral is
Dear all,
I need to do some calculation where the code used are below. I get
error message when I choose k to be large, say greater than 25.
The error message is
"Error in integrate(temp, lower = 0, upper = 1, k, x, rho, m) :
the integral is probably divergent".
Can anyone give some help on res
I am
working on bayesian copula but i am new in this area and i do not
have much knowledge about it. Does any one know how to use bayesian copula
using R with
winbugs? and estimating missing data by R?
hena...@yahoo.com
sincerely
[[alternative HTML version deleted]]
__
Hi Hari,
You have not given examples of 'list1.bp.files.names' or
'list2.bp.files.names' and hence it is difficult to determine what the code
is trying to achieve. I will assume you want to create all pairwise merges
of the attached files. If this is indeed what you are doing, the problem is
not a
Hi Jim,
I am want to merge two files into one file :
Here is my code . But the problem with this is that I am getting the 2nd
file appended to the first when i write temp3 in my code to the text file. I
am not sure what mistake I am doing .
also find the test files to run the code .
Please help
In your function, you have
temp <- read.table(fnames,header=T,sep="\t",stringsAsFactors=F,quote="\"")
I think you mean:
temp <- read.table(i,header=T,sep="\t",stringsAsFactors=F,quote="\"")
Also 'files' is a parameter, but you are using 'fnames' in the 'for' loop;
shouldn't that be 'files'?
Dear all,
Here is my code which am using to combine 5th column from different data
sets.
Here is the function to do my job
genesymbol.append.file <-NULL
gene.column <- NULL
readGeneSymbol <- function(files,genesymbol.column=5){
for(i in fnames){
temp <- read.table(fnames,header=T,sep="\t",str
, August 13, 2009 1:01 PM
To: r-help@r-project.org
Subject: [R] some help with plotting a beautiful structure using rgl
Hi!!
I need some help in using the correct required symbol when plotting my DNA
structure using rgl. I need to plot one strand using empty circles and the
other using filled
Hi!!
I need some help in using the correct required symbol when plotting my DNA
structure using rgl. I need to plot one strand using empty circles and the
other using filled circles and if possible have sequence in the center.
I tried using pch and lty but have not been able to get it to do wha
Check out 'POSIXlt'. This should provide a hint as to how you can do it:
> ?as.POSIXlt
> x <- as.POSIXlt('2008-03-04 11:00')
> x
[1] "2008-03-04 11:00:00 GMT"
> unlist(x)
sec min hour mday mon year wday yday isdst
0 011 4 2 108 263 0
> ?POSIXlt
> myDat
Hey,
I'm new to R but familiar with other programming languages.
Basically, I want to store an array of dates. For each of these dates I
want to store only the day of the week and the hour. So for example:
"Monday 12" would be Monday at 12 o'clock and "Tuesday 20" would be Tuesday
at 8 p.m.
Al
25 matches
Mail list logo