is.lp = function(lp, n){
if(is.vector(lp)){
if(length(lp) == n){
return(TRUE)
}else{
return(FALSE)
}
}else{
if(dim(lp)[1] == n){
return(TRUE)
}else{
return(FALSE)
}
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.