Displaying 20 results from an estimated 1000 matches similar to: "group values in classes"
2013 Oct 15
2
extract regression coefficients
Hello all!
I have a problem with R. I want to extract regression coefficients from
summary and use it for compute the theoretical values.
How can I do that in R?
thank you!
best regards,
--
---
Catalin-Constantin ROIBU
Lecturer PhD, Forestry engineer
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone +4 0230 52 29 78, ext. 531
mobile phone +4
2013 Apr 10
2
non linear equation
Hello all!
I have a problem with a double exponential equation.
this are my data's>
structure(list(proc = c(1870.52067384719, 766.789388745793,
358.701545859122,
237.113777545511, 43.2726259059654, 148.985133316262, 92.6242882655781,
88.4521557193262, 56.6404686159112, 27.0374477259404, 34.3347291080268,
18.3226992991316, 15.2196612445747, 5.31600719692165, 16.7015717397302,
2013 Mar 27
3
animated charts
Hello all!
I want to create animated chart of temperature variation in last century.
how can I do this with R?
Thank you!
--
---
Catalin-Constantin ROIBU
Forestry engineer, PhD
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone +4 0230 52 29 78, ext. 531
mobile phone +4 0745 53 18 01
+4 0766 71 76 58
FAX: +4
2013 Aug 26
4
transform variables
Dear all!
I have a data frame composed by 13 columns (year, and 12 months). I want to
transform this data base in another like this
year month values
1901 1
1901 2
1901 3
.....
1901 12
1902 1
1902 2
....
1902 12
Is there a possibility to succeed that in R?
Thank you!
best regards!
CR
--
---
Catalin-Constantin ROIBU
Lecturer PhD, Forestry engineer
Forestry Faculty of Suceava
Str.
2013 Feb 10
2
exponential model in R
Dear R users,
I don't know how to compute an exponential model like this:
proc=a*exp(b*cls), or proc=a*exp(b*cls)+c*exp(d*cls). Please help me to
solve this problem!
Thank you!
My data is:
row.names proc cls
1 0.5 452.616206 0.5
2 1 255.864021 1.0
3 1.5 150.885316 1.5
4 2 86.289600 2.0
5 2.5 56.321559 2.5
6 3 39.504444 3.0
7 3.5 25.570308 3.5
8 4 5.382726 4.0
--
---
Catalin-Constantin
2012 Nov 28
4
remove NA or 0 values
Dear R users,
I want to remove zero's or NA values after this model.
year value1 value2
1854 0 12
1855 0 13
1866 12 16
1877 11 24
year value1 value2
1 12 12
2 11 13
3 16
4 24
Thank you!
--
---
Catalin-Constantin ROIBU
Forestry engineer, PhD
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone +4 0230 52 29 78, ext. 531
mobile phone +4 0745 53
2012 Nov 14
5
aggregate combination data
Dear R users,
I want to aggregate all *d *data from all combination of n *plots* taken
by k.
Thank very much!
My data is like that:
plot d 1 14 1 13 1 12 1 14 1 18 1 20 1 21 1
43 1 108 1 43 2 41 2 61 2 83 2 61 2 84 2 45 2 21 2 12 2 11 ... 100
10
100 12
--
---
Catalin-Constantin ROIBU
Forestry engineer, PhD
Forestry Faculty of Suceava
2013 Jan 08
2
plot residuals per factor
Dear R-users,
I want to plot residuals vs fitted for multiple groups with ggplot2.
I try this code, but unsuccessful.
library("plyr")
models<-dlply(dat1,"d",function(df)
mod<-lm(y~x,data=df)
ggplot(models,aes(.fitted,.resid), color=factor(d))+
geom_hline(yintercept=0,col="white",size=2)+
geom_point()+
geom_smooth(se=F)
--
---
Catalin-Constantin ROIBU
2013 Mar 29
1
problem with data
Hello all!
I have a problem with my data in R. When I want to plot the following data,
I have a problem with y scale. The maximum value is cc. 10 degrees and in R
is about 100.
I use this code:
fasy<-read.table("gridd1.txt",sep="\t",dec=",",header=T,row.names=1)
# here are the years:
x <- as.numeric(rownames(fasy))
# extract a series that you want to plot:
y
2013 Mar 13
2
merge datas
Hello all!
I have a problem with R. I try to merge data like this:
structure(c(2.1785, 1.868, 2.1855, 2.5175, 2.025, 2.435, 1.809,
1.628, 1.327, 1.3485, 1.4335, 2.052, 2.2465, 2.151, 1.7945, 1.79,
1.6055, 1.616, 1.633, 1.665, 2.002, 2.152, 1.736, 1.7985, 1.9155,
1.7135, 1.548, 1.568, 1.713, 2.079, 1.875, 2.12, 2.072, 1.906,
1.4645, 1.3025, 1.407, 1.5445, 1.437, 1.463, 1.5235, 1.609, 1.738,
1.478,
2013 Apr 21
2
double exponential regression R
Hello all!
I have a problem with a double exponential equation.
This are my data's> structure(list(proc = c(1870.52067384719,
766.789388745793, 358.701545859122, 237.113777545511, 43.2726259059654,
148.985133316262, 92.6242882655781, 88.4521557193262, 56.6404686159112,
27.0374477259404, 34.3347291080268, 18.3226992991316, 15.2196612445747,
5.31600719692165, 16.7015717397302,
2013 Apr 23
2
SSbiexp
Hello all!
I have a problem to use a biexponential regression model:
I use this code:
n3<-nls(proc~SSbiexp(cls,a,b,c,d),data=bline) and this is the error message:
Error in nls(y ~ cbind(exp(-exp(lrc1) * x), exp(-exp(lrc2) * x)), data =
xy, :
singular gradient
My data is like this:
structure(list(proc = c(387.177462830167, 508.090511433077,
321.836817656365,
151.226805860727,
2012 Nov 11
1
multiple variable basic plot
Dear R users,
I have a problem with plot option in R.
I want to plot all columns values in a single graph and the labels of x
axis the row names. I try to use matplot option, but I have a problem with
labels and thickness. I use a very complex data with 100 columns and 406
rows.
I use this code:
> matplot(data.matrix(data1), type="l",xaxt="n")
> axis(1,
2013 Feb 10
3
top 10 (n values) for each classes
Dear R users,
I have a problem. I don't know how to select the top 10 (n) values for each
classes.
Thank you!
My data is like this:
row.names proc cls 7271 568,03338 0,5 7270 554,68458 0,5 7269 510,20638
0,5 7268 485,59969 0,5 7267 421,92852 0,5 7272 410,12101 0,5 3414
409,71429 0,5 3452 402,78699 0,5 3451 401,28114 0,5 3450 361,80607 0,5
3413 360,29883 0,5 3449 352,90043 0,5 3453
2013 Mar 12
5
extract values
Hello all!
I have a problem to extract values greater that for example 1820.
I try this code: x[x[,1]>1820,]->x1
Please help me!
Thank you!
The data structure is:
structure(c(2.576, 1.728, 3.434, 2.187, 1.928, 1.886, 1.2425,
1.23, 1.075, 1.1785, 1.186, 1.165, 1.732, 1.517, 1.4095, 1.074,
1.618, 1.677, 1.845, 1.594, 1.6655, 1.1605, 1.425, 1.099, 1.007,
1.1795, 1.3855, 1.4065, 1.138, 1.514,
2012 Nov 14
2
aggrete data from combination
Dear R users,
A have a dataframe (matrix) with two collumns (plot, and diameter (d)). I
want all diameters values for different combination of plots.
For example I want all d values for all posible combination, 100C2 (all d
values for plot 1 with all d values in the plot 2.......with all d values
from plot 1 with all d values from plot 100, ...... with all d values from
plot 99 with all d values
2013 Apr 07
2
group data in classes
Hello all!
I have a problem to group my data (years) in 10 years classes. For example
for year
year decade
1598 1590-1600
1599 1590-1600
1600 1590-1600
1601 1600-1610
---
my is like this>
[1] 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611
1612
[16] 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626
1627
[31] 1628 1629 1630 1631 1632 1633
2013 Jan 03
1
r code
I have a problem. My data is now in this form:
plot area d
1 0.01 34.6
...................
100 0.01 15.7
First, I want to aggregate plots start from a plot in the center of sample
(10 plots x 10 plots). I want to aggregate after the model plot1 in the
center of area (0,01 m2), after increasing plot area with the near plots
until the entire area (10000 m2). For a good explication I will
2013 Feb 10
1
compute exponential model with R
Dear R users,
Please help me to compute an exponential model with R.
Thank you!
--
---
Catalin-Constantin ROIBU
Forestry engineer, PhD
Forestry Faculty of Suceava
Str. Universitatii no. 13, Suceava, 720229, Romania
office phone +4 0230 52 29 78, ext. 531
mobile phone +4 0745 53 18 01
+4 0766 71 76 58
FAX: +4 0230 52 16 64
silvic.usv.ro
[[alternative
2012 Nov 11
1
plot matrix
Dear R users,
I have a problem with plot option in R.
I want to plot all columns values in a single graph and the labels of x
axis the row names. I try to use matplot option, but I have a problem with
labels and thickness. I use a very complex data with 10 columns and 406
rows.
I use this code:
> matplot(data.matrix(data1), type="l",xaxt="n")
> axis(1,