Chargement...
 
Imprimer

r_demo03_template01

{wiki}Values for X:
min: {$f_11}
max: {$f_12}

Those are the results:{/wiki}

{wikiplugin _name=r width="400" height="200"}
x<-{$f_11}:{$f_12}
y<-x*x
plot(x,y)
title('Graph with xmin {$f_11} & xmax {$f_12} and y=x^2')

cat("\nResults from {$f_11}*{$f_12}: ")
results <- {$f_11}*{$f_12}
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 raw dataset")
}

{/wikiplugin}