Loading...
 

History: Profile_r_test3_template01

Preview of version: 6

{wiki}Values for X:
min: {$f_$profileobject:r_test_xmin$}
max: {$f_$profileobject:r_test_xmax$}

Those are the results:{/wiki}

{wikiplugin _name=r}
x<-{$f_$profileobject:r_test_xmin$}:{$f_$profileobject:r_test_xmax$}
y<-x*x
plot(x,y)
title('Graph with xmin {$f_$profileobject:r_test_xmin$} & xmax {$f_$profileobject:r_test_xmax$} and y=x^2')

cat("\nResults from {$f_$profileobject:r_test_xmin$}*{$f_$profileobject:r_test_xmax$}: ")
results <- {$f_$profileobject:r_test_xmin$}*{$f_$profileobject:r_test_xmax$}
cat(results)
cat("\n")

if ( exists("file_type") ) {
cat("\nFile type from this attachment: ")
cat(file_type)
cat("\nContents of the attachment to this dataset:\n")
print(data)
} else {
cat("No attachment to display in this row dataset")
}

{/wikiplugin}

History

Advanced
Information Version
Tue 28 of Jan, 2014 20:33 GMT-0000 Xavier de Pedro added size param for graph 8
Thu 14 of Mar, 2013 15:26 GMT-0000 Xavier de Pedro typo 7
Thu 14 of Mar, 2013 15:22 GMT-0000 Xavier de Pedro improved 6
Tue 26 of Jul, 2011 21:53 GMT-0000 Xavier de Pedro separated in different lines 5
Wed 09 of Jun, 2010 11:02 GMT-0000 Xavier de Pedro 4
Tue 08 of Jun, 2010 09:39 GMT-0000 Xavier de Pedro 3
Sun 06 of Jun, 2010 16:17 GMT-0000 Xavier de Pedro 2
Sun 06 of Jun, 2010 16:02 GMT-0000 Xavier de Pedro 1