fx <-
function(Pk,fkx,Y){
f<-matrix(0, nrow = length(Y) )
for (i in 1:length(Y)) {
f[i]<- as.numeric(unlist(fkx[[i]]))%*%Pk
}
return(f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.