Displaying 20 results from an estimated 28 matches for "24.75".
Did you mean:
24.7
2023 Jul 06
1
Plotting factors in graph panel
Hi John:
Thanks! Below is the data using your suggestion. I used "ggplot" to make a
graph. I am not too happy with it. I am looking for something simpler and
cleaner. Plot is attached.
I also tried "lattice" package, but nothing got plotted with "xyplot"
command, because it is looking for a numeric variable on x-axis.
ggplot(TrialData4, aes(x=Income, y=Percent,
2023 Jun 29
3
Plotting factors in graph panel
Thanks, Pikal and Jim. Yes, it has been a long time Jim. I hope you have
been well.
Pikal, thanks. Your solution may be close to what I want. I did not know
that I was posting in HTML. I just copied the data from Excel and posted in
the email in Gmail. The data is still in Excel, because I have not yet
figured out what is a good way to organize it in R. I am posting it again
below as text. These
2023 Jun 29
2
Plotting factors in graph panel
Okay. Here is a modification that does four single line plots.
at_df<-read.table(text=
"Income MF MF_None MF_Equity MF_Debt MF_Hybrid Bank_None Bank_Current
Bank_Savings Bank_NA
$10 1 3.05 29.76 31.18 36.0 46.54 24.75 25.4 3.307
$25 2 2.29 28.79 32.64 36.27 54.01 24.4 18.7 2.891
$40 3 2.24 29.51 34.31 33.94 59.1 25.0 29 13.4
$75 4 1.71 28.90 35.65 33.74 62.17 24.61 11.48 1.746
2023 Jul 06
1
Plotting factors in graph panel
Btw, I think "lattice" graphics will provide a better solution than
"ggplot", because it puts appropriate (space saving) markers on the axes
and does axes labels well. However, I cannot figure out how to do it in
"lattice".
On Thu, 6 Jul 2023 at 15:11, Anupam Tyagi <anuptyagi at gmail.com> wrote:
> Hi John:
>
> Thanks! Below is the data using your
2023 Jul 06
2
Plotting factors in graph panel
On Thu, 6 Jul 2023 at 15:21, Anupam Tyagi <anuptyagi at gmail.com> wrote:
>
> Btw, I think "lattice" graphics will provide a better solution than
> "ggplot", because it puts appropriate (space saving) markers on the axes
> and does axes labels well. However, I cannot figure out how to do it in
> "lattice".
You will need to convert Income to a
2023 Jul 07
1
Plotting factors in graph panel
Hallo Anupam
I do not see much difference in ggplot or lattice, they seems to me provide almost identical results when removing theme part from ggplot.
library(ggplot2)
library(lattice)
ggplot(TrialData4, aes(x=Income, y=Percent, group=Measure)) + geom_point() +
geom_line() + facet_wrap(~Measure)
xyplot(Percent ~ Income | Measure, TrialData4,
type = "o", pch = 16, as.table =
2023 Jun 29
1
Plotting factors in graph panel
Anupa,
I think your best bet with your data would be to tidy it up in Excel, read
it into R using something like the readxl package and then supply some
sample data is the dput() function.
In the case of a large dataset something like dput(head(mydata, 100))
should supply the data we need. Just do dput(mydata) where *mydata* is your
data. Copy the output and paste it here.
On Thu, 29 Jun 2023
2023 Jun 28
1
Plotting factors in graph panel
Hi Anupam,
Haven't heard from you in a long time. Perhaps you want something like this:
at_df<-read.table(text=
"Income MF MF_None MF_Equity MF_Debt MF_Hybrid Bank_None Bank_Current
Bank_Savings Bank_NA
$10 1 3.05 29.76 31.18 36.0 46.54 24.75 25.4 3.307
$25 2 2.29 28.79 32.64 36.27 54.01 24.4 18.7 2.891
$40 3 2.24 29.51 34.31 33.94 59.1 25.0 29 13.4
$75 4 1.71 28.90 35.65 33.74
2023 Jul 07
1
Plotting factors in graph panel
Thanks! You are correct, the graphs look very similar, except ggplot is
scaling the text font to make it more readable. Is there a way to scale
down the x-axis labels, so they are readable?
On Fri, 7 Jul 2023 at 12:02, PIKAL Petr <petr.pikal at precheza.cz> wrote:
> Hallo Anupam
>
> I do not see much difference in ggplot or lattice, they seems to me
> provide almost identical
2023 Jun 28
2
Plotting factors in graph panel
Hello,
I want to plot the following kind of data (percentage of respondents from a
survey) that varies by Income into many small *line* graphs in a panel of
graphs. I want to omit "No Answer" categories. I want to see how each one
of the categories (percentages), "None", " Equity", etc. varies by Income.
How can I do this? How to organize the data well and how to
2012 May 31
1
please help! Extract the row to the new file by using if-statment
Dear all,
I find some troubles about how to extact the row from csv. file by using
if-statement condition.
I want to extract the row if the rainfall is greater than the mean of
rainfall and using the wrfta divided into 3 groups
that's
rainfall greater than mean -> group A ( create file group A_rain)
-> groupB ( create file
group B_rain)
2023 Jun 29
1
Plotting factors in graph panel
Reposting the data did not help. We do not like to guess, and doing so takes a great deal of time that is likely wasted.
Rows are observations.
Columns are variables.
In Excel, the first row will be variable names and all subsequent rows will be observations.
Income is the first variable. It has seven states: $10, $25, $40, $75, >$75, "No", "Answer"
MF is the second
2010 Apr 07
0
question about fold function
Dear all,
I'm trying to use the fold function as described here:
http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf
Page9
It does say that you can use this when you have more than one time varying
covariate: in the description of the argument cov it says:
"cov: A vector giving the column numbers of the time-dependent covariate in
data, or a list of
2009 Apr 30
1
Using 'aggregate' when dependent on row value increments
Dear all,
I have a data frame of three columns, which I have sorted by Latitude as follows:
> test2[60:80,]
Latitude Longitude Sim_1986
61948 85.25 -29.25 2.175345
61957 85.25 -28.75 8.750486
61967 85.25 -28.25 33.569305
61977 85.25 -27.75 23.702572
61988 85.25 -27.25 26.488602
62000 85.25 -26.75 23.915724
62012 85.25 -26.25 25.055082
62027
2011 Jun 11
3
rcspline.plot query
Dear all,
As I am new to the R community - although eager to advance- I would
like to pose a question to the community.
I have an SPSS file which I have imported it in R (with the read.spss
command) which conists of scale (continuous) variable "adiponectin" and
the corresponding categorical value "death" (0=No, 1=Yes). In all there
are 60 observations (among which
2006 Jan 09
2
performance with >50GB files
Hi all,
today we had a performance issue transfering a big amount of data where
one file was over 50GB. Rsync was tunneled over SSH and we expected the data
to be synced within hours. However after over 10 hours the data is still not
synced ... The sending box has rsync running with 60-80 % CPU load (2GHz
Pentium 4) while the receiver is nearly idle.
So far I had no acces to the poblematic
2006 Jun 15
1
Performance leak with concurrent requests on static files (Rails)
Hi,
I just found something weird for mongrel with static files.
Performance endlessly decreases if mongrel serve static files from
simultaneous requests :
Here is the test setup:
Ruby on Rails
Mongrel (tested with 1.3.12.4 and 1.3.13-pre installed today)
Ubuntu dapper, compiled ruby 1.8.4.
http client :
while true; do ab -n 1000 -c 30 http://localhost:3000/ 2>/dev/null |
grep
2009 Jan 27
1
Problem with RMA using limma, oligo and pdInfoBuilder packages
Hi,
I am a Ph.D. student from Québec, Canada. I’m a beginner with R and
Bioconductor. Until now the only experience I have is in analyzing
microarray data using affy and limma packages. Now I am trying to analyze
Rat Gene 10 st arrays and I would like to run RMA analysis and Smyth
moderated t test on those arrays. Since no cdf official package is available
for those arrays, after reading many
2012 Nov 23
6
Summary statistics for matrix columns
Hi,
is there a way I can calculate a summary statistics for a columns matrix
let say we have this matrix
x <- matrix(sample(1:8000),nrow=100)
colnames(x)<- paste("Col",1:ncol(x),sep="")
if I used summary
summary(x)
i get the output for each column but I need the output to be in matrix with
rownames and all the columns beside it
this how I want it
2006 Jul 24
5
grouping by consecutive integers
Hello R-helpers!
I have a question concerning extracting sequence information from a
vector. I have a vector (representing the bins of a time series where
the frequency of occurrences is greater than some threshold) where I
would like to extract the min, median and max of each group of
consecutive numbers.
For Example:
tmp <- c(24,25,29,35,36,37,38,39,40,41,42,43,44,45,46,47,68,69,70,71)
I