Displaying 20 results from an estimated 20000 matches similar to: "Combine two tables by row with different columns"
2012 May 10
6
averaging two tables (rows with columns)
Hi R user,I am struggling to figure out on how I can calculate the average from the two tables in R. Any one can help me? really your help would be grateful- I am spending so much time to figure it out. It should not be so hard, I think.
I have very big data but I have created a hypothetical data for simplification.
for example
I have : table 1
table 1: species occurance data
2012 Jun 28
3
would you give me your hand to standardize columns in a matrix?
Hi R User,
Would you give me your hand to standardize some columns in a matrix?
I have included the example table.
> dput(test)
structure(list(X = c(1, 2, 3, 4, 5, 6), Y = c(4, 5, 6, 7, 8,
9), temp = c(0.818, 0.113, 0.256, 0.587, 0.955, 0.207), oxy = c(0.797,
0.487, 0.727, 0.128, 0.514, 0.031)), .Names = c("X", "Y", "temp",
"oxy"), row.names =
2007 Jul 11
2
Previously saved workspace restored
hi there,
i an beginner of R. some one have sent me a file (extension is .Rdata). i have installed R in my computer and i just double clicked the data. then it automatically opened R programme and displayed that [previously saved workspace restored]. the following message was displayed.
Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an
2016 Apr 20
0
simulation in R
I realized that there was a typo error. I mean "Monte Carlo Simulation"
________________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Kristi Glover <kristi.glover at hotmail.com>
Sent: April 19, 2016 11:48 PM
To: R-help
Subject: [R] simulation in R
Hi R user,
Would you mind to help me to find the range with stochastic events? For
2012 Sep 20
2
how can I give same name to column and row?
Hi R User,
I calculated a correlation matrix and I was trying to give a same name for rows and columns (heading) in the correlation matrix. But, I was not able to do so.
Would you mind let me know how I can assign the same name for the heading of row and columns in the matrix?
I appreciate for your help.
cheers,
K
[[alternative HTML version deleted]]
2012 Jun 13
3
How to plot linear, cubic and quadratic fitting curve in a figure?
Hi R experts,
Could you please help me to fit a linear, cubic and quadratic curve in a figure? I was trying to show all these three fitting curves with different colour in one figure.
I spent substantial time to figure it out, but I could not.
I have given here a example and what I did for linear, but no idea for cubic and quadratic fitting curve
> dput(test)
structure(list(sp = c(4L, 5L,
2012 Aug 04
2
how to assing unique ID in a table and do regression
Hi R- User
I have very big data set (5000 rows). I wanted to make classes based on a column of that table (that column has the data which is continuous .) After converting into different class, this class would be Unique ID. I want to run regression for each ID.
For example I have a data set
> dput(dat)
structure(list(ID = c(0.1, 0.8, 0.1, 1.5, 1.1, 0.9, 1.8, 2.5,
2, 2.5, 2.8, 3, 3.1, 3.2,
2012 Apr 29
1
r2 and p value dispaly in table
Hello R User,
I was trying to display r.squared and p value in table from regression, but I could not display these parameters in the table (matrix)
for example
individual <- c(1,1,6,8,8,9,9,9,12,12)
day <- c(4,17,12,12,17,3,9,22,13,20)
condition <- c(0.72, 0.72, 0.67, 0.73, 0.76, 0.65, 0.68, 0.78, 0.73, 0.71)
test <- data.frame(individual, day, condition)
ind.id <-
2016 Apr 20
2
simulation in R
Hi R user,
Would you mind to help me to find the range with stochastic events? For example,
daT<-structure(list(sn = 1:14, growthrate = c(0.5, 0.6, 0.7, 0.99,
0.1, 0.3, 0.4, 0.5, 0.5, 0.2, 0.1, 0.4, 0.3, 0.43)), .Names = c("sn",
"growthrate"), class = "data.frame", row.names = c(NA, -14L))
I want to find the ranges of growth rate of the above data using Mote
2013 Apr 13
1
how can I convert a result (text) in table format in R?
Hi R user,
Could you please give me some hints on how I can convert text in table format in R?
I was doing model assessment using dismo package
for example:
bg <- randomPoints(current, 500)
pvtest <- data.frame(extract(current, occtest))
avtest <- data.frame(extract(current, bg))
e2 = evaluate(model, p=pvtest, a=avtest)
> e2
class : ModelEvaluation
n presences : 10
n
2013 Apr 24
2
How to make a raster image in R from my own data set
Hi R-user,
I was trying to make a raster map with WGS84 projection in R, but I could not make it. I found one data set in Google that data is almost the same format as of mine. I wanted to make a raster map of temperature with 1 degree spatial resolution for the global scale.
I could make it in GIS software but I do have many variables (to be many raster images) and ultimately I am importing them
2012 May 14
2
package ‘adehabitat’ is not available (for R version 2.15.0) on Mac OS X
Hi R- User,I tried to load package adehabitat for R version 2.15.0. But, I got error. even I download and save in local drive and tried to install from the local file. but still i got the following errors
install.packages("adehabitat", repos='C:/adehabitat_1.8.10.tgz')
package ‘adehabitat’ is not available (for R version 2.15.0)
> install.packages("adehabitat",
2013 Jun 23
1
Which is the final model for a Boosted Regression Trees (GBM)?
Hi R User,
I was trying to find a final model in the following example by using the Boosted regression trees (GBM). The program gives the fitted values but I wanted to calculate the fitted value by hand to understand in depth. Would you give moe some hints on what is the final model for this example?
Thanks
KG
-------
The following script I used
#-----------------------
library(dismo)
2007 Sep 25
1
NFS issue
I am currently running K12LTSP on Centos 5, which is working well but
without sound on most machines(ok all). So in order to remedy this and the
cd-burning issue I have decided to try to install CentOS locally on one
machine and then apply the personalizations via NFS.
Steps:
I editted the /etc/exports to export the /home dir as per the NFS howto and
that seemed to work as the user homes were
2017 Jul 30
1
Add Anova statistics in each figure
Hi R Users,
I created interaction plots in ggplot2 and was trying to add output of two way ANOVA models, especially only interaction ( example treatment*control F(XX, XX) = xxx, p = xxx) into figures, but i was not able to add. Would you mind to help on how I can add information into each figure? I have attached the example data and the code that I used for this.
dat<-structure(list(Sites
2009 Jul 25
1
regex expression to select row or column
I have a multidimensional data which looks like the following:
"S1-a" "S2-b" "S3-c" "S4-d" "S5-a" "S6-b" "S7-c" "S8-d"
"T1-A"
"T1-B"
"T1-C"
"T1-D"
"T2-A"
"T2-B"
"T2-C"
"T2-D"
I read it from csv file and would like to have 16
2010 Mar 05
2
Selecting rows of a matrix based on some condition on the columns
The data set consists of two sets of matrices, as labelled by the columns, T's and C's.
> xy
x T1 T2 T3 T4 T5 C1 C2 C3 C4 C5
[1,] 50 0.00 0.00 33.75 0.00 0.00 0.00 36.76 0.00 35.26 0.00
[2,] 13 34.41 0.00 0.00 36.64 32.86 34.11 35.80 37.74 0.00 0.00
[3,] 14 35.85 0.00 33.88 36.68 34.88 34.58 0.00 32.75 37.45 0.00
[4,] 33 34.56
2011 Nov 26
4
SPSS -> R
I'm an SPSS user trying to make the transition to R.
Can someone help me translate the following SPSS code into R?:
GLM Total_tp1 Total_tp2 WITH Age Sex
/WSFACTOR=Time 2 Repeated
/METHOD=SSTYPE(3)
/CRITERIA=ALPHA(.05)
/WSDESIGN= Time
/DESIGN= Age Sex Age*Sex.
Also. can anyone recommend any resources to help SPSS users learn to things in R?
Thanks,
-kristi
[[alternative HTML
2017 Jul 05
1
How can I make the legend in ggplot2 the same height as my plot?
Hi R Users,
I tried to increase the legend height in ggplot2, but it did not respond at all using the follwoing code. Do you have any suggestions for me?
dat<-data.frame(temperature)
P1<-ggplot(dat, aes(X, Y))
Scenario1<-P1+geom_point(aes(colour = value), size = 1)+ theme_bw()+ theme(axis.text.x = element_blank(),axis.text.y = element_blank())
2016 Aug 29
2
No network using qemu-kvm-ev-2.3.0-31.el7.16.1
Hello, this could be issue with firewall or netfilter on bridge
S pozdravem Kristi?n Feldsam
Tel.: +420 773 303 353
E-mail.: admin at feldhost.cz
www.feldhost.cz - FeldHost poskytuje kvalitn? hostingov? a serverov? slu?by za p??znivou cenu.
FELDSAM s.r.o.
V rohu 434/3
Praha 4 ? Libu?, PS? 142 00
I?: 290 60 958, DI?: CZ290 60 958
C 200350 veden? u M?stsk?ho soudu v Praze
Banka: Fio banka a.s.