Hello all,

I'm moving to rpy2 but I still didn't get the new syntax. I have two
simple questions:


- I can create the nls with no trouble as below, but I can't figure
out how to create the nls.control with rpy2?

model=robjects.r.nls(formula,data=dataf,start=start,control=control,trace=True)



- How would be a more elegant way to create a data frame then

d={"x":robjects.FloatVector([4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14]),"y":robjects.FloatVector([4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69])}
dataf = robjects.r['data.frame'](**d)


Thanks!

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to