Displaying 20 results from an estimated 2000 matches similar to: "3D trajectory plot?"
2012 Jun 28
1
Simple mean trajectory (ordinal variable)
Hello.
I have 5 measurement points, my dependent variable is ordinal (0 - 3), and
I want to visualize my data. I'm pretty new to R.
What I want is to find out whether people with different baseline
covariates have different trajectories, so I want a plot with the means
trajectory of my dependent variable (the individual points do not make a
lot of sense in ordinal data) on each measurement
2010 Mar 15
1
problem in reading trajectory file
Hi,
I'm trying to read some trajectory files (text files) which have the form:
# trial n
# t X Y
0 1 2
0.2 1 3
0.4 1.2 4
...
# trial n+1
# t X Y
0 1 2
0.2 1.3 3.3
0.4 1.5 5
...
...
where the symbol # means that the line is not a numeric value, but I still
need to read the number of the trial (n=1, 2, etc.).
I
2003 Jul 23
2
Read trajectory file into R
dear helpers,
I wonder if there is a way to read a molecular dynamic trajectory file (
binary file) produced by CHARMM into R. Something like that in matlab.
Actually this will save tremendous effort in post processing.
best regards
karim
2010 Aug 23
5
trajectory plot (growth curve)
Hi there,
I want to make trajectory plots for data as follows:
ID time y
1 1 1.4
1 2 2.0
1 3 2.5
2 1.5 2.3
2 4 4.5
2 5.5 1.6
2 6 2.0
...
That is, I will plot a growth curve for each subject ID, with y in
the y axis, and time in the x axis. I would like to have all growth
curves in the same plot. Is there
2011 Feb 20
1
Plotting individual trajectories from individual growth model
Hi all,
I am trying to plot the fitted trajectories for each individual from an
individual growth model (fit with a linear mixed effects model in lme). How
can I plot each person's trajectory in the *same* panel, along with the
mean-level trajectory?
Below is an image of a plot similar to what I'm trying to create (from:
http://jpepsy.oxfordjournals.org/content/31/10/1002/F6.large.jpg):
2010 Nov 01
3
Mean and individual growth curve trajectories
I'm trying to understand how to plot individual growth curve trajectories,
with the overall mean trajectory superimposed (preferably in a slightly
thicker line, maybe in black) over the individual trajectories. Using the
sleepstudy data in lme4, here is the code I have so far:
library(lme4)
library(lattice)
xyplot(Reaction ~ Days, data = sleepstudy, group = Subject, type = 'l')
2002 Oct 02
6
help to make a map on R
Hi all,
I need a little help for construct an state's map on R.
The first problem is to get the data.
I have a datafile of longitude and latitude in the follow format:
trajectory latitude longtude
T -22.045618 -51.287056
T -22.067078 -51.265888
T -22.067039 -51.207249
T -22.059690 -48.089695
T -22.075529 -48.074608
T -22.072460 -48.044472
T -22.062767 -48.298473
T -22.077349
2012 Mar 20
0
Great new video on BaSTA - Bayesian Survival Trajectory Analysis
Dear all,
Fernando Colchero, Owen Jones and Maren Rebke, Max Plank Institute for Demographic Research, present BaSTA -Bayesian Survival Trajectory Analysis. Fernando, Owen and Maren have put together this beautiful video exploring research on ageing and and how to deal with incomplete data.
To install BaSTA http://basta.r-forge.r-project.org
BaSTA users mailing list,
2004 Oct 03
1
How might one write this better?
I am trying to simulate the trajectory of the pension assets of one
person. In C-like syntax, it looks like this:
daily.wage.growth = 1.001 # deterministic
contribution.rate = 0.08 # deterministic 8%
Wage = 10 # initial
Asset = 0 # initial
for (10,000 days) {
Asset += contribution.rate * Wage
2010 Apr 20
1
3D surface plot with wireframe or persp?
Hello Dear,
I have a function, like z=f(x,y), and try a surface plot with this function.
But, on the reference of "wireframe" requires data option, so I generated x
and y, and computed z with them. But, still I have a problem to draw a
surface plot. The code and errors are
##################################################
mle_beta0=64.43707;
mle_beta1=-24365.16;
# generating for
2006 Mar 20
1
Surface plot - 3d
Hi, trying this again - any help would be great!
Basically, I have two matrices of equal dimension, one of them should
produce something similar to a heatmap.. The 2nd matrix should be the
"heights" for each value on the heatmap - producing a sort of 3d surface
plot.
Viewing this seems like a problem too, as I need to scale the x axis so
that ~140 labels are visible.
I've tried
2006 May 08
1
persp or wireframe 3D plot: how can I independently adjust linewidth of the 'surface' and framebox?
It is a trivial matter to adjust the linewidth of the axes and plot
line in a 2D plot:
x <- 1:10;
y <- 1:10;
par(lwd=2); # axis (and others) linewidth
plot(x,y,"l",lwd=6); # plot linewidth
Is there anything comparable to this for persp or wireframe? I've
tried a number of ways, and the framebox/axes seem to be linked to
the linewidth used in generating the
2002 Mar 27
2
3D visualization using vtk library
has there been any attempt to improve the 3D visualization (interactive)
features in R, using the vtk library?
It seems fairly straight forward.
maybe even trivial for somebody who has experience with vtk library.
let me know if there are any obvious reasons i may have overlooked
thanks, in advance for any feedback
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2007 May 25
1
3D plots with data.frame
Dear all,
Thank you for any help. I have a data.frame and would like to plot
it in 3D. I have tried wireframe() and cloud(), I got
scatterplot3d(xs)
Error: could not find function "scatterplot3d"
> wireframe(xs)
Error in wireframe(xs) : no applicable method for "wireframe"
> persp(x=x, y=y, z=xs)
Error in persp.default(x = x, y = y, z = xs) :
(list)
2005 Jan 06
2
animation without intermediate files?
Hello,
Does anyone know how to make "movies" in R by making a sequence of plots?
I'd like to animate a long trajectory for exploratory purposes only,
without creating a bunch of image files and then using another program to
string them together. In Splus I would do this using double.buffer() to
eliminate the flickering caused by replotting. For instance, with a 2-D
trajectory
2011 Jul 22
1
3d plotting with cloud and wireframe
Hi,
I'm trying to plot an equation in two variables to get a feel
for sensitivity to its parameters. I've run expand.grid to get made-up
vectors of the combinations of the two independent variables, and am trying
to plot the output of the dependent, M, against both the dependent in a 3d
space.
t <- 0:100
DBH <- 10:100
TxDBH<-expand.grid(t,DBH)
time<-TxDBH[,1]
2003 Sep 17
3
3D plot/surface rotation
How do I rotate 3D plots/surfaces generated by either cloud or wireframe?
Thanks.
Marc
Marc W. Zodet, MS
Health Statistician
Agency for Healthcare Research and Quality
[[alternative HTML version deleted]]
2005 Feb 03
2
logistic regression 3D-plot
Dear R-helpers,
I tried to create a 3D surface showing the interaction between two
continuous explanatory variables; the response variable is binary (0/1).
The model is:
model<-glm(incidence~sun*trees,binomial)
then I used "wireframe" to create a 3D plot:
xyz<-expand.grid(sun=seq(30,180,1),trees=seq(0,4000,10))
xyz$incidence<-as.vector(predict(model,xyz))
2024 May 05
2
lmer error: number of observations <= number of random effects
I am running a multilevel growth curve model to examine predictors of
social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a
continuous numeric variable. The age variable (Index1) has been coded as 0
for age 12, 1 for age 15 and 2 for age 18. I am currently using a time
varying predictor, stress (LSI), which was measured at ages 12, 15 and 18,
to examine whether trajectory/variation
2024 May 05
2
lmer error: number of observations <= number of random effects
I am running a multilevel growth curve model to examine predictors of
social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a
continuous numeric variable. The age variable (Index1) has been coded as 0
for age 12, 1 for age 15 and 2 for age 18. I am currently using a time
varying predictor, stress (LSI), which was measured at ages 12, 15 and 18,
to examine whether trajectory/variation