Hi all,I would like to draw a simple circle where the color gradient follows
the rule color = 1/(r^2) where r is the distance from the circle. I would also
like to add a color bar with values going from -40 to -110 (and associate those
with the color gradient that fills the circle).
So far I exp
Hi all,the code you will find at the bottom of the screen creates a 3d diagram
of antenna measurements. I am adding also to this Figure a color bar,and I
wanted to ask you if I can add a color bar (which package?) that will scale as
the windows is maximized. My current color bar is a bit too rou
Hi,I am using rgl to plot 3d graphics. You can find below some executable code.
I would like to add a color bar that scales as the window size scale. The
solution I currently have gives a color bar that gets pixelated once you
maximize the window.
Can you suggest of alternatives?
ThanksAlex
wiki.openstack.org/wiki/MailingListEtiquette
--
Sent from my phone. Please excuse my brevity.
On June 25, 2017 2:42:26 PM EDT, Alaios via R-help wrote:
>Hi all,I had a question last week on asking for a function that will
>help me draw three different circles on x,y,z axis based on polar
&
Hi all,I had a question last week on asking for a function that will help me
draw three different circles on x,y,z axis based on polar coordinates (Each
X,Y,Z circle are coming from three independent measurements of 1-360 polar
coordinates). It turned out that there is no such function in R and
Thanks. So after searching 4 hours last night it looks like that there is no R
package that can do this right now. Any other ideas or suggestions might be
helpful.RegardsAlex
On Wednesday, June 21, 2017 3:21 PM, Alaios via R-help
wrote:
Thanks Duncan for the replyI can not suppress
for the reply to allAlex
On Wednesday, June 21, 2017 1:07 PM, Duncan Murdoch
wrote:
On 21/06/2017 5:23 AM, Alaios via R-help wrote:
> Thanks a lot for the reply.After looking at different parts of the code
> today I was able to start with simple 2D polar plots as the attach
Tuesday, June 20, 2017 9:49 PM, Uwe Ligges
wrote:
package rgl.
Best,
Uwe Ligges
On 20.06.2017 21:29, Alaios via R-help wrote:
> HelloI have three x,y,z vectors (lets say each is set as rnorm(360)). So
> each one is having 360 elements each one correpsonding to angular coordinates
>
HelloI have three x,y,z vectors (lets say each is set as rnorm(360)). So each
one is having 360 elements each one correpsonding to angular coordinates (1
degree, 2 degrees, 3 degrees, 360 degrees) and I want to plot those on the
xyz axes that have degress.
Is there a function or library to
can you see it now? I have uploaded it on my dropbox
https://www.dropbox.com/s/9eikpabu6xflasa/Figure.jpg?dl=0
On Saturday, January 14, 2017 12:57 PM, John Kane
wrote:
No sign of attachment.
On Saturday, January 14, 2017 5:42 AM, Alaios via R-help
wrote:
Hello,how I can
Hello,how I can try something like that in R (in the attachment I am providing
a sketch).Which packages would you try to use?I would like to thank you in
advance for your helpRegardsAlex
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s
is meaningless.
Best,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Wed, Sep 14, 2016 at 6:01 AM, Alaios via R-help wrote:
> Hi all,
Hi all,I have seen data.frames and operations from the mutate package getting
really popular. In the last years I have been using extensively lists, is there
any reason to not use lists and use other data types for data manipulation and
storage?
Any article that describe their differences? I wou
Hi there,in case one has found a nice and easy reproducible example of a
Morans'I example where neighborhoods are depicted and their calculated
correlations are visible as well.Point is to make some examples that I can
share with students that want to understand fast what is the notion about.
Re
ry
> https://cran.cnr.Berkeley.edu/src/contrib zugreifen: nicht unterstütztes URL
> SchemaWarnmeldung:Paket ‘latex2expr’ ist nicht verfügbar (for R version 3.2.4
> Revised)
On Monday, May 2, 2016 9:39 PM, David Winsemius
wrote:
> On May 2, 2016, at 10:32 AM, Alaios via R-h
Dear all,I am trying to write in my Figure labels short equations that contain
greek characters
For example: C(h) = sigma^2 * rho(h).
I am googling it and there are many packages available but unfortunately they
do not look available for my 3.2.4 latex version
install.packages("latex2expr"
, February 15, 2016, Alaios via R-help wrote:
Dear all,I am using R to emulate radio propagation dynamics.
I have 90 antennas in a region and each of these 90 antennas hold information
about 36 points (these are all exactly the same and there is no need to
differentiate them further)
Each of
Dear all,I am using R to emulate radio propagation dynamics.
I have 90 antennas in a region and each of these 90 antennas hold information
about 36 points (these are all exactly the same and there is no need to
differentiate them further)
Each of these antennas now should keep information about t
&M University
College Station, TX 77840-4352
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Alaios via
R-help
Sent: Wednesday, February 3, 2016 2:42 AM
To: Rolf Turner; R-help Mailing List
Subject: Re: [R] [FORGED] find numbers that fall in a regio
001)
PlotPoints are gps coordinates.
That would make it sure that I have no mistakes in my code.
Any ideas?Alex
On Tuesday, February 2, 2016 11:33 PM, Rolf Turner
wrote:
On 03/02/16 11:04, Alaios via R-help wrote:
> Dear all,I have GPS coordinates (one vector for longitude and o
Dear all,I have GPS coordinates (one vector for longitude and one for latitude:
GPSLong and GPSLat) of small are that is around 300meters X 300 meters
(location falls inside UK).At the same time I have two more vectors (Longitude
and Latitude) that include position of food stores again the UK
I
Dear all,I would like to execute some php or javascripts I found on the web.
see at middle of this page towards bottom
http://www.howtocreate.co.uk/php/gridref.php#samples
Is there any way I can call the php function for example directly from R?
I would like to thank you in advance for your reply
ember 24, 2015 12:43 PM, Alaios via R-help
wrote:
Dear Dennis, it would be better if not plotting the lon and lat. Keeping it
blank is better for the aesthetics of my map.
I am not sure how I can give a reproducible example herebut I want to
ggmap(mp, darken = 0) + geom_point(aes(Longi
with which to work, I can't
really help/comment much further. If you come up with one, please post
it back to the group so that others can see it. Some of them have more
experience with mapping in ggplot2 than I do.
Dennis
On Thu, Nov 19, 2015 at 8:45 PM, Alaios wrote:
> dear Denn
Dear all,the following line of code
print me a map of an area with the points I need. I only new two minor
adjustments
ggmap(mp, darken = 0) + geom_point(aes(Longitude, Latitude, colour =Error),
data = PlotPoints, size = 6)+
scale_colour_gradient2(low=muted("red"),mid="green", high=muted("bl
sAlex
On Wednesday, November 4, 2015 11:20 PM, Rolf Turner
wrote:
I have been vaguely following this thread and have become very confused
given the complications that seem to have appeared.
The original question was:
>>>>> On Tue, Nov 3, 2015 at 10:47 AM, Ala
d in the
function body I would clearly and explicitly define the conditions for group
membership (and comment it). That is how you make code for a task like this
explicit and _maintainable_.
Cheers,
Boris
On Nov 4, 2015, at 9:19 AM, Alaios wrote:
> Thanks everything is solved and I was e
:09 PM, Boris Steipe
wrote:
I don't understand:
- where does the "label" come from? (It's not an element of your data that I
see.)
- what do you want to do with this "label" i.e. how does it need to be
associated with the data?
B.
On Nov 4, 2015, at 7:
tion time.
Cheers,
Boris
On Nov 4, 2015, at 6:40 AM, Alaios via R-help wrote:
> Thanks for the answer. Split does not give me the indexes though but only in
> which group they fall in. I also need the index of the group. Is the first,
> the second .. group?Alex
>
>
>
On Tue, Nov 3, 2015 at 10:47 AM, Alaios via R-help wrote:
> Dear all,I am not exactly sure on what is the proper name of what I am trying
> to do.
> I have a vector that looks like
> binDistance
> [,1]
> [1,] 238.95162
> [2,] 143.08590
> [3,] 88.50923
Dear all,I am not exactly sure on what is the proper name of what I am trying
to do.
I have a vector that looks like
binDistance
[,1]
[1,] 238.95162
[2,] 143.08590
[3,] 88.50923
[4,] 177.67884
[5,] 277.54116
[6,] 342.94689
[7,] 241.60905
[8,] 177.81969
[9,] 211.25559
[10,] 27
s
Petr
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Alaios
> via R-help
> Sent: Wednesday, October 21, 2015 3:35 PM
> To: R-help Mailing List
> Subject: [R] threshold and replace values in a matrix
>
> Dear all I have a tabl
Dear all I have a table as that.
test<-matrix(data=rnorm(100),ncol=10)
and I want to find the values that are below my thresholdthreshold<- -0.5and
replace them with a -1 instead.
I can of course write a double nested for loop to check one by one elementif
(test[i,j]<= threshold) test[i,j]<- -
Dear all,I am trying to fit a heavy tailed distribution and I have tried
working with the mix function of the mixdist package.It looks like that this
package allows fitting two distributions (or move) of the same family and not
combining different distributions (so mixing a geometric with a nor
Thanks.The code you gave me at the end works correctly.. I was wondering if
there is more efficient way to access each element withouth this classic for
loop.
RegardsAlex
On Wednesday, April 1, 2015 5:54 PM, David Winsemius
wrote:
On Apr 1, 2015, at 3:34 AM, Alaios via R-help
Hi all,I am a linux R user and my default R environemnt (after writing R in
linux console) returns the error messages in German (I am not the system
adminitstrator and I can not change system settings). I know that the English
package is also installed so I guess I need to set some environmental
Dear all,I have a R structure that was created with replicate.The data sets
looks to be a matrix with each cell being a list.
str(error_suburban_0[,1],max.level=1)
List of 4
$ vaR :List of 20
..- attr(*, "class")= chr "variogram"
$ Shadowing:List of 2
..- attr(*, "class")= chr "geodata"
Hi all,I have a list that has the following fields.
$`80`
[1] "Error in if (fitcass1[[2]] == \"Error\") { : \n Fehlender Wert, wo
TRUE/FALSE nötig ist\n"
attr(,"class")
[1] "try-error"
attr(,"condition")
$`81`
[1] 0
$`9`
[1] 0
$`79`
$parameters
pi mu sigma
1 0.999679
:58 PM, Alaios wrote:
Hi,thanks all for the answer.I am using mclapply to call the lapply many times
as needed. My function returns only a value if the fit is succesful.For testing
if the fit is sucessfuly my code works like that
fitcass1<-tryCatch(mix(mixdat=mydataOnVector,mixpar=par
you want to do, not how you want to do it.
On Thu, Feb 26, 2015 at 9:27 AM, Alaios via R-help wrote:
> Dear all,in my code I am using the mix() function that returns results in a
> list. The result looks like
> List of 10
> $ parameters :'data.frame': 2 obs. of
Dear all,in my code I am using the mix() function that returns results in a
list. The result looks like
List of 10
$ parameters :'data.frame': 2 obs. of 3 variables:
..$ pi : num [1:2] 0.77 0.23
..$ mu : num [1:2] -7034 162783
..$ sigma: num [1:2] 20235 95261
$ se :'data.f
Hi all,I would like to use an expand.grid functionality that would give me at
the end a listso far my code looks like:
sigma_max_On_seq<-seq(0.05,100,length.out=1)
mean_max_On_seq<-seq(2,1),length.out=1)
expandMeanSigmaOn<-expand.grid(mean_max_On_seq,mean_max_On_seq,sigma_max_On_seq,s
Hi all,I am working in a multi core machine and I am trying to make some
parallel code to speed up the process.
I have seen already the foreach packet but it looks like that it always combine
the results on a list. My case though is simpler since I am plotting and saving
in external files, insid
Dear all,I have a function that returns the following list. At the end I will
call my function 1000 times and I want to keep for each of these 1000 "results"
(the structure as given below)in an order to be accessible later (Load the 1000
results and access them within a for loop for example)
How
Hi all,I am looking for a function that would give me all the combinations
between two vectors.Lets take as example the
test<-seq(1,3,by=5000)
Browse[2]> test
[1] 1 5001 10001 15001 20001 25001
I want all the combinations between two times the test... I think this is
called permutatio
his list again with
"commented, minimal, self-contained, reproducible code" describing what
you want in a bit more detail (as indicated at the end of emails on this
list).
Spencer
On 12/8/2014 10:45 AM, Alaios via R-help wrote:
> (I am sorry if you have received this
Hi all,I am having some heavy tailed data and I am trying to think of the more
appropriate package for the fitting.The canonical try should be something like
exponential and pareto or exponential + gamma (or gamma + gamma with different
shape parameters). I am trying to have one distribution tha
(I am sorry if you have received this email twice but it does not look sent on
my client)
Hi all,I am having some heavy tailed data and I am trying to think of the more
appropriate package for the fitting.The canonical try should be something like
exponential and pareto or exponential + ga
Hi.I was using the last night the fitdistr package to start with some fitting.
I have some data sets that even though have a very gaussian distribution it
looks like that also it has some very heavy tails, that can not be accurately
be modelled by a gaussian distribution.Where should I give a tr
Hi all,
I would like to turn some long strings like MyString$Myfield$MySubfield into
variables but it looks like that the get does not like lists
so for example:
test<-list(a=2)
test
>$a
[1] 2
get("test")
>$a
[1] 2
get("test$a")
>Fehler in get("test$a") : Objekt 'test$a' nicht ge
Hi all
I am trying to read some text files with the following format:
1377262633.948000
$GPRMC,125708.00,A,5047.66107,N,00603.65528,E,0.203,247.36,230813,,,A*60
1377262633.958000 $GPVTG,247.36,T,,M,0.203,N,0.377,K,A*3B
1377262633.968000
$GPGGA,125708.00,5047.66107,N,00603.65528,E,1,09,0
in error please contact the sender.
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
> On Behalf Of Alaios
> Sent: 14. februar 2014 10:14
> To: R-help@r-project.org
> Subject: [R] Ignore errors and proceed to next
>
&g
Hi all,
I have a very large number of vectors that I want first to look fast which
distribution might be considered candidate for fitting.
I made a simple loop that checks for all vector (the code below is for one
vector and being called for each vector separately). If a good fit is found
this i
Hi all,
I have a large number of measurements from which I select a large number of
unique vectors. For each vectors I would like to test which distribution might
be a candidate for fitting.
It is impossible to look on each vector separately but I can inside a for loop
test different models and
Thanks Jim.. once again your rock
On Wednesday, January 22, 2014 9:51 AM, Jim Lemon wrote:
On 01/22/2014 07:37 PM, Alaios wrote:
> Hi there,
> I would like to be able to draw a density plot or a box plot where the median
> and the median and the mean would be visible.
>
>
Hi there,
I would like to be able to draw a density plot or a box plot where the median
and the median and the mean would be visible.
If I decide a density plot I need to put two big marks one for the median and
one for the mean, which I do not know how I can achieve to put marks in a
density p
Hi,
I want from a vector containing has like 1000 elements to select X of it
randomly but with never selecting the same element again. Each one should be
unique element of the vector.
Is this more precise now?
Regards
Alex
On Monday, January 20, 2014 7:54 PM, Alaios wrote:
Dear all,
I
Dear all,
I would like to select from a vector of 10 elements, 5 of those that are
identical.
How can I do that in R? I guess one way would be to taking random numbers and
see if that appeared again. Is though there a more straightforward approach?
Regards
Alex
[[alternative HTML version
Hi there,
I would like to save tabular (in R just matrices) in a txt file but in a way
that they would be somehow readable.
That means keeping columns aligned and rows so one can read easily for example
the 2,3 element.
IS there a way to do that in R?
capture.output for example does not produce
Hi all,
I have spatial field created with grf and I was wondering if I can sample in
lines, something that can resemble sampling outdoors at the streets.
Random sampling looks to far of what I want to have.
there is in geodata package the sample.geodata but this looks like to be random
samples.
Dear all,
I would like to ask you if there are any gps libraries.
I would like to be able to handle them,
-like calculate distances in meters between gps locations,
-or find which gps location is closer to a list of gps locations.
Is there something like that in R?
I would like to tthank you in
, 2013 3:07 AM, Alaios wrote:
Thanks! It worked.
Regards
Alex
On Monday, November 11, 2013 12:02 AM, Jim Lemon wrote:
On 11/11/2013 04:57 AM, Alaios wrote:
> Hi all,
>
> I am plotting very nice looking mattrices with plotrin...
>
> so far so good, I would like though t
Thanks! It worked.
Regards
Alex
On Monday, November 11, 2013 12:02 AM, Jim Lemon wrote:
On 11/11/2013 04:57 AM, Alaios wrote:
> Hi all,
>
> I am plotting very nice looking mattrices with plotrin...
>
> so far so good, I would like though to ask you if it would be possib
Hi all,
I am plotting very nice and sexy images with plotrix :)
so far so good, I would like though to ask you if it would be possible to add
at the bottom of the color.legend (this lovely color bar that maps colors to
numbers).
Would that be possible to do that?
I would like to thank you in adv
Hi all,
I am plotting very nice looking mattrices with plotrin...
so far so good, I would like though to ask you if it would be possible to add
at the bottom of the color.legend (this lovely color bar that maps colors to
numbers).
Would that be possible to do that?
I would like to thank you i
Hi all,
the following returns the hour and the minutes
paste(DataSet$TimeStamps[selectedInterval$start,4],
DataSet$TimeStamps[selectedInterval$start,5],sep=":")
[1] "12:3"
the problem is that from these two I want to create a time stamp so 12:03. The
problem is that the number 3 is not converte
plots are around 400kBytes which is a lot and I am
looking for ways to reduce image size.
I would like to thank you for you reply
Alex
On Monday, November 4, 2013 11:59 AM, Jim Lemon wrote:
On 11/04/2013 08:09 PM, Alaios wrote:
> Hi Jim Lemon,
> thanks for the help, I appreciate thi
ices I have) is misaligned in different positions each time
Could you please also help me with those two?
Regards
Alex
On Monday, October 28, 2013 9:00 AM, Alaios wrote:
Hi Jim and thanks for your answer... I might be too tired with my new born or
just exhausted.
I am sharing for eve
Hi everyone,
I am plotting some legend and I am using the axis(at=..) to specify the place
to plot the marks I want.
My plotted data have ncol(x) so the at places have values that span from 1 to
ncol(x)
there I would like to be able to map values that go from 880e6 to 1020e6.
so
880e6 rem
Hi,
I have some code that you can simply execute:
require(plotrix)
test<-matrix(data=rnorm(1,-100,5),nrow=100)
color2D.matplot(test,axes="F",xlab="",ylab="",main="color.scale",
extremes=c("#FF","#00"),show.legend=FALSE)
axis(1,at=seq(1,ncol(test),length.out=10),labels=seq(201,300,
Thumbs up! It worked!
On Wednesday, October 30, 2013 9:41 AM, Gerrit Eichner
wrote:
Hello, Alaois,
if x is your vector maybe
n <- length( x)
positions <- trunc( quantile( seq( n), prob = 0:5/5))
x[ positions]
comes close to what you want.
Hth -- Gerrit
> Hi all, I have in my code
Hi all,
I have in my code some vectors that are not of equal size. I would like to be
able for each of these vectors select 6 elements that are (almost) equally
spaced. So the first one would be at (or close) to the beginning the last one
at (or close) to the end and the other 4 equally spaced b
Hi all,
I am trying to add a color legend to my plot. As an example I am giving you a
bit of code that you can run.
I am sharing for everyone a small data snipset that you can load
https://www.dropbox.com/s/fh8jhwujgunmtrb/DataToPlotAsImage.Rdata
load("DataToPlotAsImage.Rdata")
require(plotrix)
Hi all,
I would like to ask your help regarding connecting external modules to telosb.
I have found that tiny os offers many possibilities for that as
ADC,
GPIOs, SPI, UART, I2C
I have never learned anything regarding those. Can someone please let me know
if there is any simple
guide on these
Dear all,
in my code I have written the following list
TimeFramesShort <-list(c(strptime("2011-10-12 10:59:00","%Y-%m-%d
%H:%M:%S"),strptime("2011-10-13 11:02:00","%Y-%m-%d %H:%M:%S")) #
rest items were truncated
I was wondering if could somehow take the first element of the lis
gh to fix the more severe problems as I have
described
RegardsAlex
On Sunday, October 27, 2013 12:25 PM, Jim Lemon wrote:
On 10/27/2013 08:39 AM, Alaios wrote:
> Hi Jim and thanks for your answer... I might be too tired with my new
> born or just exhausted.
>
> I am attaching for
Dear all,
I would like to ask you how I can avoid this warning I am getting when I am
writing some results in a text file
5: In write.table(x = cor(t(collectMean_UL), t(collectMean_DL)), ... :
appending column names to file
the code that saves to the file look like:
write(x="TEMPERATURE",f
ace the legend at a useful place.
second I am not sure why the image is so full with black rows..
What I want is to have the legend visible
and later on customize the x axis to write custom string of different size...
First I need though to fix the more severe problems as I have described
Regards
Al
Dear all,
I would like to ask your help concering two R lists.
If I did everything should have the same structure (that means the same number
of sublists, and their sublists also the same number of sublists). What would
change between the two lists is the contents of each element in the lists.
=heat.colors(30),gradient="y")
I would like to thank you in advance for your help
Regards
Alex
On Friday, October 25, 2013 11:50 AM, Jim Lemon wrote:
On 10/25/2013 08:38 PM, Alaios wrote:
> Hi all,
> I would like to ask your help to add a color band (Ã⢠am not sure
> re
Hi all,
I would like to ask your help to add a color band (Î am not sure regarding the
right term, this color band at the right of the plot "describing" values with
their corresponding color.
For now I have only this code
test<-matrix(data=runif(1),nrow=100)
plot(test,axes="FALSE")
axi
Hi all,
I am trying to plot a raster object (I can explain why but the point is that it
would be a raster objeçt)..
I have selected a small code to show you exactly the problem
require(raster)
test<-matrix(data=runif(1),nrow=100)
m<-raster(test)
plot(m,axes="FALSE")
axis(1,at=c(0,1),labels=
Hi I have a vector like that
readCsvFile$V1
[1] 30 31 32 33 34 35 36 37 38 39 310 311 312 313 314 315 316 317 318
[20] 319 320 321 20 21 22 23 24 25 26 27 28 29 210 211 212 213 214 215
[39] 216 217 218 219 220 221 222 223 40 41 42 43 44 45 46 47 48 49 410
[58] 411 41
Hi all,
I am having 4 vectors like
Data: num [1:4, 1:32] -82.8 -81.8 -75.5 -107.6 -87.6 ...
and I want to calculate the correlation between those.
Is there a graphical way in R to plot the correlations or not?
I would like to thank you in advance for your help
Regards
Alex
[[alternat
Dear all,
I have a list that is created like that
Spans<-list( c(837e6,842e6),
c(832e6,837e6),
c(930.1e6,935.1e6)
)
I would like to include a second list that will contain the string that would
correspond to the numbers at the left side.
I would like thus insi
tion to string
Â
see inline
Â
From:PIKAL Petr
Sent: Wednesday, March 27, 2013 11:24 AM
Subject: RE: [R] Averaging Out many rows from a column AND funtion to string
Hi
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounc
Hi,
I have a few raster layers and I would like to customized their x and y axis.
I have tried already something like:
require('raster')
keep<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
xlab<-seq(100e6,200e6,length.out=5)
test<-raster(keep)
plot(test,ylab="",xaxt="n",yaxt="n")
axis(1, at=seq(
Â
see inline
Â
From:PIKAL Petr
Sent: Wednesday, March 27, 2013 11:24 AM
Subject: RE: [R] Averaging Out many rows from a column AND funtion to string
Hi
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> pr
ct.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Alaios
> Sent: Wednesday, March 27, 2013 9:13 AM
> To: R help
> Subject: [R] Averaging Out many rows from a column AND funtion to
> string
>
> Dear all,
> 1) I have a very large matrix of
> str(keep)
> Â num
oject.org] On Behalf Of Alaios
> Sent: Wednesday, March 27, 2013 9:13 AM
> To: R help
> Subject: [R] Averaging Out many rows from a column AND funtion to
> string
>
> Dear all,
> 1) I have a very large matrix of
> str(keep)
> num [1:153899, 1:3415] -98.6 -95.8 -96.4 -
Dear all,
1) I have a very large matrix of
str(keep)
num [1:153899, 1:3415] -98.6 -95.8 -96.4 -95.8 -98 ...
that I would like to reduce its size to something like
str(keep)
num [1:1000, 1:3415] -98.6 -95.8 -96.4 -95.8 -98 ...
or anything similar in size as this is a matrix that needs plot
Hi,
it was very kind of you to help me again.
Your code works, and the reason I was using the limits as that is that my
dataset is slightly different than the one I used for showing the problem here.
More specifically this is my dataset
Browse[1]> str(keep)
num [1:153899, 1:3415] -98.6 -95.8 -9
Hi
I am using violin plots (type of boxplots) and I am trying to increase the
font size in the plots.
It looks like that the violin plots do not work as "normal" plots as the cex
parameters are ignored.
You can have a loot at the code below
require('vioplot')
data1<-rnorm(100)
data2<-rnorm
Hi,
Thanks for the answer.
It looks like that the mutate what I was missing so long..
That's my current attempt
Data<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
Lengths<- 15
library(reshape2)
library(ggplot2)
require('plyr')
tdm <- melt(Data)
tdm <- mutate(tdm, col = cut(value, seq(15, 90, by=
Hi ,
I would like to use ggplot2 to plot a matrix as an image.
You can copy paste the following
Data<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
lengthOut<-5
Lengths<- 15
library(reshape2)
library(ggplot2)
tdm <- melt(Data)
ggplot(tdm, aes(x = Var2, y = Var1, fill =
factor(value)),l
Dear all,
I am trying to plot an image so I am trying this through raster layer.
You can copy paste the following
require('raster')
Data<-matrix(data=rnorm(900,80,20),nrow=30,ncol=30)
rasterData<-raster(Data)
lengthOut<-5
xAxisFrequencies<-seq(800,900,length.out=lengthOut)
plot(rasterData, ylab="
Dear all,
I would like to have all unique combinations in the following matrix
TimeIndex<- rbind (c(1,"Week_of_21_07-29_03"),
c(2,"Thursday_21_03"),
c(3,"Friday_22_03"),
c(4,"Saturday_23_03"),
c(5,"Sunday_24_03"),
c(6,"Monday_25_03"),
c(
Dear all,
I was reading last night the lm and the Formula manual page, and 'I have to
admit that I had tough time to understand their syntax. Is there a simpler
guide for the dummies like me to start with?
I would like to thank you in advance for your help
Regards
Alex
[[alternative HTM
Hi,
I am not quite sure what you meanÎ. I give again reproducible code:
require(ggplot2)
require(reshape)
DataToPlot<-matrix(data=rnorm(9),nrow=3,dimnames=list(seq(1,3),seq(4,6)))
tdm<-melt(DataToPlot)
p<- ggplot(tdm, aes(x = X2, y = X1, fill = factor(value))) +
               Â
Dear all,
I have a piece of code that I want to run in parallel (I am working in system
of 16 cores)
foreach (i=(seq(-93,-73,length.out=21))) %dopar%
{
threshold<-i
print(i)
do_analysis1(i,path)
do_analysis2(i,path)
do_something_else_analysis1
1 - 100 of 449 matches
Mail list logo